Function at 0x493eee
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
and dword [esp + 0x3c], 0
and dword [esp + 0x24], 0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0x18], esi
mov eax, dword [esi]
mov edi, dword [esi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
dec eax
mov dword [esi + 0x38], eax
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x38], eax
movzx eax, byte [ebx + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
cmp eax, 0x83
je 0x49402c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], 1
cmp byte [eax + 0x51], 0
jne 0x49402c
imul eax, edx, 0x18
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov edi, dword [esp + 0x10]
cmp edi, dword [eax]
mov edi, dword [esp + 0x2c]
jg 0x49402c
xor eax, eax
test edx, edx
jle 0x493fab
lea edi, [ecx + 0x18]
mov esi, eax
movzx eax, word [edi]
cmp eax, dword [esp + 0x10]
je 0x493f9b
inc esi
add edi, 0x18
cmp esi, edx
jl 0x493f8a
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
cmp eax, edx
jne 0x494015
mov ecx, dword [esp + 0x24]
mov edx, 0x96
push 0
call fcn.00478bf7
pop ecx
mov ecx, eax
test ecx, ecx
je 0x494087
mov eax, dword [esp + 0x10]
or dword [ecx + 4], 0x400
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], eax
push ecx
mov ecx, esi
call fcn.00479946
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [ebx + 0x30], ecx
test ecx, ecx
je 0x49400f
mov edx, dword [esp + 0x40]
mov word [ecx + edx + 0x18], ax
mov edx, dword [esp + 0x34]
inc edx
add dword [esp + 0x40], 0x18
mov dword [esp + 0x34], edx
jmp 0x494019
mov edx, dword [esp + 0x34]
jmp 0x494019
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
je 0x493f6d
mov ecx, dword [esp + 0x24]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00451e5f
mov dword [esp + 0x54], eax
pop ecx
pop ecx
test eax, eax
je 0x49408f
mov ecx, dword [esp + 0x34]
xor edx, edx
inc edx
mov dword [eax], ecx
cmp ecx, edx
jl 0x494076
mov edi, dword [esp + 0x28]
mov esi, eax
add edi, 0x18
movzx eax, word [edi]
lea edi, [edi + 0x18]
dec eax
mov dword [esi + edx*4], eax
inc edx
cmp edx, ecx
jle 0x49405f
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00493125
pop ecx
mov dword [esp + 0x50], eax
jmp 0x494094
push 7
pop eax
jmp 0x494655
and dword [esp + 0x50], 0
mov eax, dword [esp + 0x28]
mov edx, eax
mov dword [ebx + 0x30], eax
mov ecx, dword [esi]
push 0
call fcn.00479422
cmp dword [esp + 0x20], 0x83
pop ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x30], eax
jne 0x4940c2
and dword [esp + 0x44], 0
jmp 0x494149
mov eax, dword [ebx]
push 0
mov ecx, dword [eax]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x44], ecx
inc ecx
lea edx, [eax + 1]
add eax, ecx
push edx
push 0
mov dword [esp + 0x50], edx
mov ecx, edi
push 0x46
pop edx
mov dword [esi + 0x2c], eax
call fcn.00469c0b
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x24]
push 1
call fcn.00492419
mov dword [esp + 0x34], eax
pop ecx
test eax, eax
je 0x494149
and dword [esp + 0x28], 0
cmp dword [esp + 0x40], 0
jle 0x494149
mov edi, dword [esp + 0x28]
add eax, 0x14
mov dword [esp + 0x3c], eax
push edi
mov edx, ebx
mov ecx, esi
call fcn.004930e5
pop ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x10]
mov byte [edi + eax], 0
inc edi
cmp edi, dword [esp + 0x40]
jl 0x49411b
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, ebx
and dword [ebx + 0x34], 0
mov ecx, esi
push str.ORDER
and dword [eax + 0x38], 0
push dword [ebx + 0x30]
call fcn.00477ae3
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
cmp dword [eax + 0x34], 0
jne 0x494185
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, esi
call fcn.00477ae3
pop ecx
pop ecx
push dword [esp + 0x20]
mov edx, ebx
mov ecx, esi
call fcn.00492fc0
xor edx, edx
pop ecx
cmp dword [ebx + 0xc], edx
je 0x4941ec
cmp dword [esp + 0x1c], 0x83
jne 0x4941ec
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x40], eax
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4941c0
inc ecx
jmp 0x4941c3
mov ecx, dword [ebx + 0xc]
push edx
push eax
push ecx
push 0x4e
pop edx
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x40]
push dword [esp + 0x48]
push 0x4e
pop edx
call fcn.00469c0b
add esp, 0xc
jmp 0x4941f4
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x494204
mov ecx, dword [esp + 0x24]
call fcn.00478f74
and dword [ebx + 0x3c], 0
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], eax
mov byte [esp + 0x70], 0xd
lea edx, [eax + 1]
mov byte [esp + 0x58], 0xd
xor eax, eax
mov dword [esp + 0x10], edx
lea ecx, [edx + 2]
mov dword [esp + 0x80], eax
mov dword [esi + 0x2c], ecx
movzx ecx, byte [ebx + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.00492538
push eax
push str.MERGE___s_
push 1
push esi
call fcn.00469da7
mov eax, dword [edi + 0x6c]
mov ecx, edi
inc eax
push eax
push 0
push dword [esp + 0x40]
push 0xd
pop edx
call fcn.00469c0b
mov ecx, dword [esp + 0x5c]
add esp, 0x1c
mov esi, eax
mov eax, dword [esp + 0x14]
push str.LEFT
push 1
push dword [esp + 0x20]
mov dword [eax + 0xc], ecx
call fcn.00469da7
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.00496312
mov edx, dword [esp + 0x2c]
pop ecx
mov ecx, edi
call fcn.00469e95
mov edx, esi
mov ecx, edi
call fcn.0046a36b
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
mov ecx, edi
mov eax, dword [edi + 0x6c]
inc eax
push eax
push 0
push dword [esp + 0x18]
push 0xd
pop edx
call fcn.00469c0b
mov edi, dword [ebx + 0xc]
add esp, 0xc
mov esi, dword [ebx + 0x10]
and dword [ebx + 0x10], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
push str.RIGHT
push 1
push dword [esp + 0x20]
mov dword [ebx + 0xc], eax
call fcn.00469da7
add esp, 0xc
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov edx, ebx
push eax
call fcn.00496312
pop ecx
mov dword [ebx + 0xc], edi
mov edi, dword [esp + 0x10]
mov edx, edi
mov dword [ebx + 0x10], esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00469e95
push dword [esp + 0x20]
lea eax, [edi + 1]
mov edx, ebx
push dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x4c]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x84]
push eax
call fcn.00493c70
mov dword [esp + 0x58], eax
add esp, 0x18
mov eax, dword [esp + 0x1c]
cmp eax, 0x83
je 0x494373
cmp eax, 0x82
jne 0x49439f
push dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, ebx
push dword [esp + 0x34]
add eax, 2
mov ecx, edi
push dword [esp + 0x4c]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x6c]
push eax
call fcn.00493c70
add esp, 0x18
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x30]
call fcn.00492493
mov eax, dword [esp + 0x1c]
cmp eax, 0x84
je 0x49441e
cmp eax, 0x85
je 0x49441e
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x4c]
add eax, 2
push eax
push 0xc
pop edx
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, esi
push 0
push dword [esp + 0x24]
push dword [esp + 0x18]
push 0xe
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.00469c64
mov eax, dword [esp + 0x14]
mov cx, word [ebx + 6]
mov dx, word [eax + 6]
call fcn.0045531a
mov ecx, dword [esp + 0x30]
mov word [ebx + 6], ax
mov eax, dword [esp + 0x1c]
jmp 0x49442c
mov edx, dword [esp + 0x20]
mov ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edx
cmp eax, 0x85
jne 0x49444b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
movzx eax, word [eax + 6]
cmp word [ebx + 6], ax
jle 0x49448a
mov word [ebx + 6], ax
jmp 0x49448a
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x44]
inc eax
push eax
push 0xc
pop edx
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0x2c], eax
mov ecx, esi
push 0
push dword [esp + 0x24]
push dword [esp + 0x30]
push 0xe
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
call fcn.00469c64
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x44]
inc eax
push eax
push 0xc
pop edx
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, esi
push 0
push dword [esp + 0x34]
push dword [esp + 0x30]
push 0xe
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, esi
call fcn.00469c64
mov eax, dword [esp + 0x1c]
cmp eax, 0x83
jne 0x4944de
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
jmp 0x49451e
cmp eax, 0x85
jne 0x4944f4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
inc ecx
mov dword [esp + 0x18], ecx
jmp 0x49451e
push 0
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x30]
push 0xe
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00469c64
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x40], ecx
cmp eax, 0x83
je 0x494533
cmp eax, 0x82
jne 0x49454e
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x4c]
add eax, 2
push eax
push 0xc
pop edx
call fcn.00469c0b
add esp, 0xc
push 0
push dword [esp + 0x30]
mov ecx, esi
push dword [esp + 0x18]
push 0xe
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, esi
call fcn.00469c64
mov edx, dword [esp + 0x54]
mov ecx, esi
call fcn.0046a36b
mov ecx, dword [esi + 0x6c]
push 0
push dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, esi
push dword [esp + 0x30]
push 0xe
pop edx
call fcn.00469c0b
add esp, 0xc
mov ecx, esi
push 0
push dword [esp + 0x30]
push dword [esp + 0x18]
push 0xe
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, esi
call fcn.00469efd
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push 0x56
pop edx
call fcn.00469c0b
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff1
push dword [esp + 0x50]
call fcn.0046a2ad
push 0xfffffffffffffff7
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x44]
push dword [esp + 0x74]
push dword [esp + 0x90]
push 0x57
pop edx
call fcn.00469d31
add esp, 0x1c
xor edx, edx
inc edx
mov ecx, esi
call fcn.0046a0d0
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x20]
push 0x10
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
call fcn.00469efd
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x49463c
mov ecx, dword [esp + 0x24]
push 1
call fcn.00491271
pop ecx
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
call fcn.00469df8
xor eax, eax
cmp dword [edi + 0x24], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret