Function at 0x456520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 8]
xor edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x30], eax
cmp esi, edx
je 0x457064
mov edi, dword [ebp + 0xc]
lea ecx, [edx + 0x65]
cmp edi, edx
je 0x456565
movzx ecx, byte [edi]
mov dword [esp + 0x20], ecx
add ecx, 0xffffffed
cmp ecx, 0x8c
ja case.0x45657f.21
movzx ecx, byte [ecx + 0x457374]
jmp dword [ecx*4 + 0x457310]
movsx ecx, word [edi + 0x22]
mov eax, dword [edi + 0x28]
cmp byte [eax], 0
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x1c]
lea ecx, [ecx + edx*8]
jne 0x4565ab
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x24], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x4565d3
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x2f
push esi
call fcn.00440c90
mov eax, dword [esp + 0x38]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov eax, dword [edi + 0x1c]
cmp eax, edx
jge 0x4565f7
mov ecx, dword [ebx + 0x64]
cmp ecx, edx
jle 0x4565f4
movsx eax, word [edi + 0x20]
add eax, ecx
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x68]
movzx ecx, byte [edi + 0x26]
mov edx, dword [ebp + 0x10]
push ecx
movsx ecx, word [edi + 0x20]
push edx
mov edx, dword [edi + 0x2c]
push ecx
push edx
mov ecx, ebx
call fcn.004563f0
add esp, 0x10
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ebx
xor edi, edi
call fcn.00456040
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 8]
push ecx
push 0
push esi
call fcn.00455fd0
mov eax, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov edx, edi
mov ebx, dword [edx + 8]
call fcn.00440d00
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push 0
push eax
push 0
push 0x19
push esi
call fcn.00440c90
mov eax, dword [esp + 0x38]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov edi, dword [ecx + 8]
add edi, 2
mov eax, edi
call fcn.00426540
mov ebx, eax
mov eax, dword [esi]
dec ebx
push ebx
push eax
call fcn.004276f0
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push eax
mov eax, ebx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0x1b
xor eax, eax
mov edi, esi
call fcn.00440e10
mov eax, dword [esp + 0x38]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
movsx eax, word [edi + 0x20]
push 0
push edx
push eax
push 0x1c
push esi
call fcn.00440c90
mov ecx, dword [edi + 8]
add esp, 0x14
cmp byte [ecx + 1], 0
je 0x45688d
movsx edx, word [edi + 0x20]
mov eax, dword [ebx + 0x1dc]
mov ecx, dword [eax + edx*4 - 4]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x45671f
mov eax, 0xfffffffe
call fcn.00441340
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x45674f
push ecx
push eax
mov eax, 0xfffffffe
mov ecx, esi
call fcn.00441530
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x45688d
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x24], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
push edx
push eax
push ebx
call fcn.00456520
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, dword [ebp + 0x10]
je 0x4567a9
mov edi, dword [ebp + 0x10]
push 0
push edi
push eax
push 0x1f
push esi
call fcn.00440c90
add esp, 0x14
mov dword [esp + 0x24], edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
xor edi, edi
call fcn.0045d2c0
mov edx, dword [ebp + 0x10]
movsx eax, al
push edi
push eax
push edx
mov eax, esi
push 0x28
push eax
call fcn.00440c90
mov ecx, dword [esp + 0x38]
add esp, 0x14
push ecx
lea eax, [edi + 1]
mov esi, ebx
call fcn.00456230
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.00457470
mov esi, eax
lea eax, [esp + 0x10]
add esp, 4
push eax
mov eax, dword [edi + 0x10]
mov ecx, ebx
call fcn.00457470
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
add esp, 4
push 0x20
push ecx
push eax
push esi
push edx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004536b0
add esp, 0x18
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45685c
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x45685c
xor eax, eax
lea ecx, [ebx + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x4572f8
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x456840
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x1c], esi
inc byte [ebx + 0x13]
mov esi, dword [esp + 0xc]
test esi, esi
je 0x45688d
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x45688d
xor eax, eax
lea ecx, [ebx + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x457301
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x456871
movzx edx, dl
mov dword [ebx + edx*4 + 0x1c], esi
inc byte [ebx + 0x13]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi + 0xc]
mov ecx, ebx
call fcn.00457470
lea ecx, [esp + 0x10]
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x10]
push ecx
mov ecx, ebx
call fcn.00457470
mov edx, dword [ebp + 0x10]
add esp, 4
push 0xa0
push edx
push eax
xor eax, eax
cmp dword [esp + 0x2c], 0x49
push esi
sete al
add eax, 0x4e
push eax
jmp 0x45681c
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.00457470
lea edx, [esp + 0x10]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
push edx
mov ecx, ebx
call fcn.00457470
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
add esp, 4
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.00440c90
add esp, 0x14
jmp 0x45682b
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x456949
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov edi, 1
call fcn.00456040
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x24], edx
jmp 0x45682b
cmp cl, 0x85
jne 0x45696c
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 8]
push edx
push 1
push esi
call fcn.00455fd0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x24], edx
jmp 0x45682b
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
mov ecx, ebx
mov byte [esp + 0x3c], 0x84
mov dword [esp + 0x40], 0x4400
mov dword [esp + 0x44], edx
call fcn.00457470
lea ecx, [esp + 0x10]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
push ecx
mov ecx, ebx
call fcn.00457470
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
add esp, 4
push edx
push ecx
push eax
push 0x5a
push esi
call fcn.00440c90
mov edx, dword [ebp + 0x10]
add esp, 0x14
mov dword [esp + 0x24], edx
jmp 0x45682b
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi + 0xc]
mov ecx, ebx
call fcn.00457470
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0
push ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push esi
call fcn.00440c90
add esp, 0x14
jmp 0x45682b
mov edx, dword [ebp + 0x10]
push 0
push edx
push 1
push 0x16
push esi
call fcn.00440c90
lea eax, [esp + 0x24]
add esp, 0x14
push eax
mov eax, dword [edi + 0xc]
mov ecx, ebx
call fcn.00457470
mov ecx, dword [esp + 0x24]
add esp, 4
push 0
push 0
push eax
push ecx
push esi
call fcn.00440c90
mov edx, dword [ebp + 0x10]
add esp, 0x14
push 0
push edx
push 0
push 0x16
push esi
mov edi, eax
call fcn.00440c90
add esp, 0x14
mov ecx, edi
mov eax, esi
call fcn.00441300
jmp 0x45682b
mov eax, dword [edi + 0x28]
cmp eax, edx
jne 0x456a79
mov eax, edi
mov ecx, dword [eax + 8]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, ebx
call fcn.004266d0
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx edx, word [edi + 0x22]
mov eax, dword [eax + 0x28]
shl edx, 4
mov ecx, dword [edx + eax + 8]
mov dword [esp + 0x24], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 4], 0x4000
mov al, byte [eax + 0x42]
mov dword [esp + 0x18], edx
mov byte [esp + 0x2c], al
mov dword [esp + 0x20], edx
je 0x456bb4
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 8]
push 0
push edx
mov edx, dword [esp + 0x38]
push ecx
push eax
push edx
mov dword [esp + 0x28], eax
call fcn.00462280
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x456e2d
cmp dword [eax + 0x10], 0
jne 0x456e2d
movzx eax, word [eax + 2]
test eax, 0x200
je 0x456bce
mov eax, esi
call fcn.00440ff0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [edx]
push eax
push ebx
call fcn.00457580
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, 1
jle 0x456b98
mov edi, dword [ebp + 0x10]
dec eax
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x30], eax
lea esp, [esp]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push 0
push ecx
push edi
push 0x4d
push edx
call fcn.00440c90
add esp, 0x14
push edi
mov eax, 1
mov esi, ebx
call fcn.00456230
inc dword [ebx + 0x6c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x18]
mov edx, dword [esi + ecx]
add esp, 4
push edi
push edx
push ebx
call fcn.00457580
add esp, 0xc
mov eax, ebx
call fcn.00456290
add esi, 0x18
sub dword [esp + 0x30], 1
mov dword [esp + 0x14], esi
jne 0x456b40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push eax
call fcn.00441040
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
cmp eax, edx
je 0x456ab4
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x456ab8
test eax, 0x400
je 0x456bf7
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax]
push ecx
push ebx
call fcn.00456520
add esp, 0xc
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 1
test edx, edx
jle 0x456c88
mov dword [esp + 0x1c], eax
cmp eax, 0x20
jge 0x456c3c
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + eax]
push 1
xor edx, edx
call fcn.00454df0
add esp, 4
test eax, eax
je 0x456c3c
mov edx, dword [esp + 0x14]
or dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
test byte [eax + 2], 0x20
je 0x456c68
cmp dword [esp + 0x20], 0
jne 0x456c68
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax]
push ebx
call fcn.00453470
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x1c], 0x18
mov edx, dword [esp + 0xc]
inc eax
rol ecx, 1
cmp eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
jl 0x456c11
cmp dword [esp + 0x28], 0
je 0x456d01
cmp dword [esp + 0x18], 0
je 0x456ca3
mov ecx, dword [ebx + 0x4c]
lea eax, [ecx + 1]
add ecx, edx
mov dword [ebx + 0x4c], ecx
jmp 0x456cb2
mov esi, dword [esp + 0xc]
mov ecx, ebx
call fcn.00458600
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
test byte [edx + 2], 0xc0
mov dword [esp + 0x1c], eax
je 0x456ce2
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
mov dl, byte [ecx]
cmp dl, 0x98
je 0x456cd5
cmp dl, 0x9a
jne 0x456ce2
mov edx, dword [esp + 0x10]
mov dl, byte [edx + 2]
and dl, 0xc0
mov byte [ecx + 0x26], dl
inc dword [ebx + 0x6c]
push 3
push 0
push eax
mov eax, dword [esp + 0x34]
push eax
push ebx
call fcn.00457640
add esp, 0x14
mov eax, ebx
call fcn.00456290
jmp 0x456d09
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0xc]
cmp eax, 2
jl 0x456d2f
test byte [edi + 4], 0x80
je 0x456d2f
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x34]
push ecx
push eax
mov eax, dword [edx + 0x18]
jmp 0x456d4b
test eax, eax
jle 0x456d57
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x34]
push ecx
push eax
mov eax, dword [edx]
call fcn.0047e620
mov dword [esp + 0x1c], eax
add esp, 0xc
mov ecx, dword [esp + 0x10]
test byte [ecx + 2], 0x20
je 0x456dd6
cmp dword [esp + 0x20], 0
jne 0x456d73
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
push 0
push 0
push 0
push 0x22
push esi
call fcn.00440c90
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x456d9c
mov ecx, dword [esp + 0x20]
mov eax, 0xfffffffc
call fcn.00441340
jmp 0x456dd6
test eax, eax
jge 0x456da4
mov eax, dword [esi + 0x20]
dec eax
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
je 0x456dcb
push ecx
push eax
mov eax, 0xfffffffc
mov ecx, esi
call fcn.00441530
add esp, 8
jmp 0x456dd6
test ecx, ecx
je 0x456dd6
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfc
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
push 0xfffffffffffffffb
push edx
mov edx, dword [esp + 0x20]
push 0x23
mov edi, esi
call fcn.00440e10
mov edi, dword [esp + 0x18]
add esp, 0xc
push edi
mov ecx, esi
call fcn.004412e0
add esp, 4
test edi, edi
je 0x45688d
cmp dword [esp + 0x18], 0
jne 0x45688d
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
call fcn.00458630
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
push eax
push str.unknown_function:__s__
mov esi, ebx
call fcn.004266d0
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
push ebx
call fcn.004554a0
add esp, 0x10
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
call fcn.00440ff0
mov dword [esp + 0x2c], eax
mov eax, esi
call fcn.00440ff0
mov ecx, dword [ebp + 0x10]
push 0
push ecx
push 0
push 0x19
push esi
mov dword [esp + 0x28], eax
call fcn.00440c90
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
add esp, 0x14
push edx
push eax
push ebx
mov eax, edi
call fcn.00455a90
mov edi, dword [ebp + 0x10]
add esp, 0xc
push 0
push edi
push 1
push 0x16
push esi
call fcn.00440c90
mov ecx, dword [esp + 0x40]
add esp, 0x14
push ecx
mov ecx, esi
call fcn.00441040
add esp, 4
push 0
push 0
push edi
push 0x25
push esi
call fcn.00440c90
mov edx, dword [esp + 0x28]
add esp, 0x14
push edx
mov ecx, esi
call fcn.00441040
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov esi, dword [eax + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edx
mov eax, edi
mov ecx, ebx
call fcn.00457470
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00457470
mov edx, eax
add esp, 4
mov eax, ebx
call fcn.004585b0
mov dword [esp + 0x2c], eax
mov eax, ebx
call fcn.004585b0
mov ecx, dword [esp + 0x2c]
push 0x20
push ecx
push edx
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
push 0x53
push ebx
mov ecx, edi
call fcn.004536b0
mov eax, dword [esi + 0x18]
mov esi, dword [esp + 0x24]
mov edx, ebx
mov dword [esp + 0x30], eax
call fcn.004585d0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00457470
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
add esp, 0x1c
push 0x20
push esi
push eax
mov eax, dword [esp + 0x24]
push edx
push 0x51
push ebx
mov ecx, edi
call fcn.004536b0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x4c]
push eax
push esi
mov esi, dword [esp + 0x4c]
push esi
push 0x48
push ecx
call fcn.00440c90
add esp, 0x2c
mov edx, ebx
call fcn.004585d0
mov esi, dword [esp + 0x14]
call fcn.004585d0
jmp 0x45682b
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0xc]
push edx
push eax
push ebx
call fcn.00456520
add esp, 0xc
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 0x2c]
movsx edx, word [ebx + 0x22]
movsx eax, word [edi + 0x20]
mov ecx, dword [ebp + 0x10]
inc edx
imul edx, dword [edi + 0x1c]
push 0
push ecx
lea ecx, [edx + eax + 1]
push ecx
push 0x86
push esi
call fcn.00440c90
movzx eax, word [edi + 0x20]
add esp, 0x14
test ax, ax
jl 0x45688d
movsx edx, ax
mov eax, dword [ebx + 4]
shl edx, 4
cmp byte [edx + eax + 0xd], 0x45
jne 0x45688d
mov ecx, dword [ebp + 0x10]
push 0
push 0
push ecx
push 0x27
push esi
call fcn.00440c90
mov eax, dword [esp + 0x38]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x1a4], edx
jne 0x45706d
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, ebx
call fcn.004266d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 2
jne 0x45707a
mov ecx, ebx
call fcn.00461480
mov al, byte [edi + 1]
push 0
cmp al, 4
jne 0x4570db
mov edi, dword [edi + 8]
push 4
push 0
push 0x15
push esi
call fcn.00440c90
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x4570b1
mov ecx, edi
xor eax, eax
call fcn.00441340
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jge 0x4570b9
mov eax, dword [esi + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea ecx, [eax + edx*4]
push edi
push ecx
xor eax, eax
mov ecx, esi
call fcn.00441530
mov eax, dword [esp + 0x2c]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 8]
push 0
push edx
movsx ebx, al
mov eax, dword [ebp + 8]
push 0x713
call fcn.004614a0
mov eax, dword [esp + 0x34]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax]
mov dword [esp + 0x28], eax
mov eax, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
call fcn.00440ff0
mov edi, dword [edi + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x45717d
mov eax, edi
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.00457470
mov dl, byte [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x6c]
add esp, 4
and dword [esp + 0x3c], 0xffffefff
mov byte [esp + 0x5e], dl
mov byte [esp + 0x38], 0x9d
mov byte [esp + 0x68], 0x4f
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x45728b
mov edx, dword [esp + 0x14]
lea eax, [ecx - 1]
shr eax, 1
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov edi, edi
inc dword [ebx + 0x6c]
cmp dword [esp + 0x2c], 0
je 0x4571b6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
jmp 0x4571c0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x74]
lea edx, [eax + 1]
mov dword [ecx + 0x74], edx
lea edx, [eax - 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
test eax, edx
jne 0x457207
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x78]
mov esi, dword [eax]
push 0
push ecx
call fcn.00424150
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov dword [edx + 0x78], eax
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x457215
mov dword [ecx + eax*4], 0xffffffff
or edi, 0xffffffff
sub edi, eax
mov eax, dword [esp + 0x30]
push 0x10
push edi
push eax
push ebx
call fcn.00457bd0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x18]
push ecx
push eax
push ebx
call fcn.00457580
mov ecx, dword [esp + 0x28]
add esp, 0x1c
push 0
push ecx
push 0
push 0xd
push esi
call fcn.00440c90
add esp, 0x14
mov eax, ebx
call fcn.00456290
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x457270
lea edx, [edi*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
add dword [esp + 0x18], 0x30
dec eax
sub dword [esp + 0x10], 1
mov dword [ecx + 0x60], eax
jne 0x4571a0
mov eax, dword [esp + 0x1c]
test al, 1
je 0x4572b7
mov ecx, dword [ebp + 0x10]
inc dword [ebx + 0x6c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8 - 0x18]
push edx
push ebx
call fcn.00457580
add esp, 0xc
mov eax, ebx
call fcn.00456290
jmp 0x4572ca
mov eax, dword [ebp + 0x10]
push 0
push eax
push 0
push 0x19
push esi
call fcn.00440c90
add esp, 0x14
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4572e6
mov edx, dword [esp + 0xc]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 6], 1
jmp 0x45685c
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret