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

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x8c]
mov ecx, dword [ebx]
push ebp
mov ebp, dword [esp + 0x94]
xor eax, eax
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], eax
push edi
mov edi, dword [ebx + 8]
mov eax, ebx
mov dword [esp + 0x34], ecx
call fcn.00410ed0
mov dword [esp + 0x2c], eax
mov eax, ebx
call fcn.00410ed0
mov edx, dword [ebp + 0x30]
mov esi, dword [edx]
mov dword [esp + 0x40], eax
movzx eax, byte [ebp]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], esi
cmp eax, 0x87
je 0x459e97
cmp byte [ecx + 0x57], 0
mov dword [esp + 0x18], 1
jne 0x459e97
lea eax, [esi + esi*4]
add eax, eax
add eax, eax
mov dword [esp + 0x24], eax
mov edi, edi
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x18]
cmp edx, dword [eax]
jg 0x459e93
xor eax, eax
test esi, esi
jle 0x459e21
mov edx, dword [esp + 0x10]
add edx, 0x18
lea esp, [esp]
movzx ecx, word [edx]
cmp ecx, dword [esp + 0x18]
je 0x459e21
inc eax
add edx, 0x14
cmp eax, esi
jl 0x459e10
cmp eax, esi
jne 0x459e81
mov edx, dword [esp + 0x34]
push 0x9b
push edx
xor eax, eax
call fcn.0041e2b0
add esp, 8
test eax, eax
je 0x459efa
mov ecx, dword [esp + 0x18]
or dword [eax + 4], 0x800
mov dword [eax + 8], ecx
mov ecx, eax
mov eax, dword [esp + 0x10]
push ebx
call fcn.004266b0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [ebp + 0x30], eax
test eax, eax
je 0x459e81
mov cx, word [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x24]
mov word [eax + edx + 0x18], cx
inc esi
add eax, 0x14
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x18]
cmp byte [ecx + 0x57], 0
je 0x459df0
mov dword [esp + 0x44], esi
lea edx, [esi*4 + 4]
push 0
push edx
call fcn.00419be0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x459f0a
mov ecx, 1
cmp esi, ecx
mov dword [eax], esi
jl 0x459ee5
mov edx, dword [esp + 0x10]
add edx, 0x18
mov dword [esp + 0x1c], edx
jmp 0x459ed0
mov edx, dword [esp + 0x1c]
movzx edx, word [edx]
add dword [esp + 0x1c], 0x14
dec edx
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, esi
jle 0x459ed0
push ebp
push ebx
mov ecx, 1
call fcn.0044e460
add esp, 8
mov dword [esp + 0x54], eax
jmp 0x459f12
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x84
ret
mov dword [esp + 0x54], 0
mov esi, dword [esp + 0x20]
cmp esi, 0x87
jne 0x459f28
mov dword [esp + 0x48], 0
jmp 0x459fa1
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov ecx, dword [ebx + 0x2c]
lea eax, [ecx + 1]
lea ecx, [ecx + esi + 1]
mov dword [ebx + 0x2c], ecx
push 0x47
push edi
xor ecx, ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], eax
call fcn.0043a2b0
mov edx, dword [esp + 0x3c]
push 1
push esi
push edx
call fcn.0043e310
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x459f9d
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x459f9d
add eax, 0x14
mov dword [esp + 0x24], eax
push esi
push ebp
push ebx
call fcn.0044e410
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [edx + 0x10]
mov byte [esi + eax], 0
inc esi
add ecx, 4
add esp, 0xc
cmp esi, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
jl 0x459f73
mov esi, dword [esp + 0x20]
mov edx, 1
cmp esi, 0x87
je 0x459fb6
cmp esi, 0x86
jne 0x459fe7
mov ecx, dword [esp + 0x34]
test dword [ecx + 0x50], 0x200000
jne 0x459fe7
cmp dword [ebp + 0x34], 0
lea eax, [ebp + 0x34]
mov ecx, ebp
je 0x459fe7
mov edi, edi
movzx ecx, byte [ecx]
cmp ecx, esi
jne 0x459fe2
mov ecx, dword [eax]
lea eax, [ecx + 0x34]
inc edx
cmp dword [eax], 0
jne 0x459fd0
cmp edx, 3
jg 0x459fed
mov dword [esp + 0x18], ebp
jmp 0x45a010
cmp edx, 2
mov dword [esp + 0x18], ebp
jle 0x45a010
lea eax, [edx - 3]
shr eax, 1
inc eax
lea esp, [esp]
sub eax, 1
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x34]
mov dword [esp + 0x18], ecx
jne 0x45a000
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x34]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax + 0x34], ecx
push ecx
mov dword [esi + 0x38], ecx
mov eax, dword [ebx]
push edx
push eax
mov dword [esp + 0x48], esi
call fcn.0044bac0
push str.ORDER
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x30]
push ebp
push ebx
call fcn.004571e0
mov eax, dword [esi + 0x30]
push str.ORDER
push esi
push ebx
call fcn.004571e0
mov ecx, dword [esp + 0x50]
push ecx
push ebp
mov esi, ebx
call fcn.00444830
xor esi, esi
add esp, 0x2c
cmp dword [ebp + 8], esi
je 0x45a0b1
cmp dword [esp + 0x20], 0x87
jne 0x45a0b1
mov esi, dword [ebx + 0x2c]
inc esi
lea eax, [esi + 1]
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], esi
lea ecx, [eax + 1]
test eax, eax
jne 0x45a092
mov ecx, dword [ebp + 8]
push 0x50
push edi
mov eax, esi
call fcn.0043a2b0
mov eax, dword [esp + 0x24]
push 0x50
push edi
mov ecx, esi
call fcn.0043a2b0
add esp, 0x10
xor esi, esi
jmp 0x45a0b9
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], esi
mov edx, dword [ebp + 0x3c]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.00423720
mov dword [ebp + 0x3c], esi
mov esi, dword [ebx + 0x2c]
inc esi
lea eax, [esi + 2]
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x40], eax
mov dword [ebx + 0x2c], eax
push 0xd
mov edx, esi
lea eax, [esp + 0x68]
mov dword [esp + 0x1c], esi
call fcn.004156e0
push 0xd
lea edx, [esi + 1]
lea eax, [esp + 0x88]
call fcn.004156e0
movzx eax, byte [ebp]
call fcn.00415980
push eax
push str.MERGE___s_
push 1
push ebx
call fcn.0043a410
mov eax, edi
call fcn.00411010
inc eax
push eax
push 0
push esi
push 0xb
push edi
call fcn.0043a200
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
push str.LEFT
push 1
push ebx
mov dword [esp + 0x64], eax
mov dword [edx + 8], ecx
call fcn.0043a410
mov ecx, dword [esp + 0x7c]
add esp, 0x40
lea eax, [esp + 0x5c]
push eax
push ecx
push ebx
call fcn.00466340
mov eax, esi
mov esi, edi
call fcn.0043a500
mov edx, dword [esp + 0x30]
push edx
mov ecx, edi
call fcn.0041cdc0
mov eax, edi
call fcn.00411010
mov esi, dword [esp + 0x20]
inc eax
push eax
push 0
inc esi
push esi
push 0xb
push edi
call fcn.0043a200
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
push str.RIGHT
mov dword [esp + 0x58], eax
mov dword [esp + 0x74], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], 0
push 1
push ebx
call fcn.0043a410
lea eax, [esp + 0xa8]
push eax
push ebp
push ebx
call fcn.00466340
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x88]
mov eax, esi
mov esi, edi
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
call fcn.0043a500
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x64]
push esi
push eax
mov eax, dword [esp + 0xe4]
push ecx
push edx
push eax
push ebp
push ebx
lea eax, [esp + 0xb4]
call fcn.0043ead0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x78]
add esp, 0x58
cmp eax, 0x87
je 0x45a226
cmp eax, 0x86
jne 0x45a253
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
push esi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
push eax
push ecx
push ebp
push ebx
lea eax, [esp + 0x94]
call fcn.0043ead0
add esp, 0x1c
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
call fcn.00415950
mov eax, dword [esp + 0x20]
cmp eax, 0x88
je 0x45a2be
cmp eax, 0x89
je 0x45a2be
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
push 0xa
push edi
call fcn.0043a2b0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
push 0xc
push edi
mov eax, esi
inc ecx
call fcn.0043a2b0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, edi
call fcn.0043a2d0
mov edx, dword [esp + 0x3c]
mov ax, word [edx + 2]
mov cx, word [ebp + 2]
call fcn.0040b820
mov word [ebp + 2], ax
mov eax, dword [esp + 0x20]
jmp 0x45a2c6
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
cmp eax, 0x89
jne 0x45a331
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
movzx eax, word [ecx + 2]
cmp word [ebp + 2], ax
jle 0x45a2e7
mov word [ebp + 2], ax
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0xa
push edi
call fcn.0043a2b0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push 0xc
push edi
mov ecx, ebp
call fcn.0043a2b0
mov eax, dword [esp + 0x50]
add esp, 0x10
mov ecx, edi
call fcn.0043a2d0
mov ecx, dword [esp + 0x20]
cmp ecx, 0x87
jne 0x45a365
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
jmp 0x45a3a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0xa
push edi
call fcn.0043a2b0
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x24], eax
push 0xc
push edi
mov eax, esi
mov ecx, ebp
call fcn.0043a2b0
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, edi
call fcn.0043a2d0
jmp 0x45a2eb
cmp ecx, 0x89
jne 0x45a37c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x45a3a0
mov eax, dword [esp + 0x14]
push 0xc
push edi
mov ecx, ebp
call fcn.0043a2b0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
add esp, 8
mov ecx, edi
call fcn.0043a2d0
mov ecx, dword [esp + 0x20]
mov eax, edi
call fcn.00411010
mov dword [esp + 0x2c], eax
cmp ecx, 0x87
je 0x45a3bb
cmp ecx, 0x86
jne 0x45a3ce
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
push 0xa
push edi
call fcn.0043a2b0
add esp, 8
mov eax, dword [esp + 0x1c]
push 0xc
lea ecx, [ebp + 1]
push edi
mov dword [esp + 0x54], ecx
call fcn.0043a2b0
mov eax, dword [esp + 0x48]
mov ecx, edi
call fcn.0043a2d0
mov eax, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.0041cdc0
mov eax, dword [esp + 0x3c]
push 0xc
push edi
mov ecx, ebp
call fcn.0043a2b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
push 0xc
push edi
call fcn.0043a2b0
mov ecx, dword [esp + 0x5c]
mov edx, edi
call fcn.00422330
mov ecx, dword [esp + 0x74]
push 0xfffffffffffffff2
push ecx
push 0
push 0x59
xor eax, eax
xor ecx, ecx
call fcn.0043a2f0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xb0]
push 0xfffffffffffffff8
push edx
push eax
mov eax, dword [esp + 0x7c]
push 0x5a
call fcn.0043a2f0
mov edx, 1
mov ecx, edi
call fcn.00411050
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
push 0xe
push edi
call fcn.0043a200
add esp, 0x50
mov ecx, esi
mov edx, edi
call fcn.00422330
mov ebp, dword [esp + 0x18]
mov edi, dword [ebp + 0x34]
test edi, edi
je 0x45a4a2
push fcn.0041ee40
mov esi, ebx
call fcn.004248f0
add esp, 4
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x34], esi
mov ecx, dword [esi + 0x30]
push ecx
push edx
mov dword [esi + 0x38], ebp
call fcn.004238b0
mov dword [esi + 0x30], 0
add esp, 8
mov esi, ebx
call fcn.0041cd50
pop edi
xor eax, eax
cmp dword [ebx + 0x24], eax
pop esi
pop ebp
setne al
pop ebx
add esp, 0x84
ret