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

Disassembly:
sub esp, 0x80
mov eax, dword [0x56fcd4]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x40], ecx
add ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x10]
mov ebp, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x14]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
mov edi, ebp
mov dword [esp + 0x58], ebp
mov ebp, dword [esi + 0xc]
sub edi, edx
mov eax, dword [eax + 0x34]
sar edi, 3
mov dword [esp + 0x5c], edx
mov dword [esp + 0x14], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov ecx, 0x53c
mov dword [esp + 0x64], ebp
sub ebp, edx
cmp eax, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], ebx
cmovb eax, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], 1
mov esi, dword [eax]
xor eax, eax
cmp esi, 2
sete al
mov dword [esp + 0x20], eax
test edi, edi
je 0x49d5b0
mov dword [esp + 0x50], 0xff
test esi, esi
jne 0x49d221
mov edi, dword [esp + 0x1c]
mov ebx, ebp
jmp 0x49d285
cmp esi, 1
jne 0x49d22e
mov edi, dword [esp + 0x1c]
mov ebx, esi
jmp 0x49d285
cmp esi, 2
je 0x49d240
cmp esi, 3
je 0x49d240
mov edi, dword [esp + 0x1c]
xor ebx, ebx
jmp 0x49d285
push dword [esp + 0xc4]
lea eax, [esp + 0x54]
push ebx
push ebp
push edx
push eax
push ebx
call fcn.00494440
mov edi, dword [esp + 0x34]
add esp, 0x18
cmp eax, 0xffffff88
jbe 0x49d265
mov ebx, ebp
jmp 0x49d285
push dword [esp + 0x50]
push ebx
push edi
call fcn.00496d20
add esp, 0xc
cmp esi, 2
jne 0x49d282
mov ecx, dword [esp + 0x18]
add eax, dword [ecx + 0x84]
lea ebx, [eax + 3]
push dword [esp + 0xc4]
mov eax, dword [esp + 0x1c]
add edi, 0x408
push dword [esp + 0x2c]
push 0x1c
push 5
push 0x522ef8
push 0
push edi
push dword [esp + 0x48]
push 0x1f
push dword [esp + 0x68]
push dword [eax + 0x8c]
call fcn.0049d940
push dword [esp + 0xf0]
mov esi, eax
lea eax, [edi + 0x8b0]
push dword [esp + 0x58]
push 0x23
push 6
push 0x522e08
push 0x522de0
push eax
push dword [esp + 0x74]
mov eax, dword [esp + 0x64]
push 0x23
push dword [esp + 0x9c]
push dword [eax + 0x88]
call fcn.0049d940
add esp, 0x58
add esi, eax
lea eax, [edi + 0x304]
mov edi, dword [esp + 0x2c]
push dword [esp + 0xc4]
push dword [esp + 0x2c]
push 0x34
push 6
push 0x522e88
push 0x522e50
push eax
mov eax, dword [esp + 0x34]
push edi
push 0x34
push dword [esp + 0x6c]
push dword [eax + 0x90]
call fcn.0049d940
add esi, eax
add esp, 0x2c
mov eax, dword [esp + 0x18]
add esi, dword [eax + 0x11c]
lea ecx, [esi + 6]
lea eax, [esi + 3]
add ecx, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x84], 0
test ebp, ebp
je 0x49d374
mov eax, ebx
xor edx, edx
shl eax, 8
div ebp
mov dword [esp + 0x2c], eax
jmp 0x49d37c
mov dword [esp + 0x2c], pe_nt_image_headers32
xor edx, edx
mov eax, ecx
sub eax, ebx
mov esi, 1
shl eax, 8
div edi
xor edx, edx
mov edi, eax
mov eax, dword [esp + 0x30]
shr eax, 1
add eax, ecx
mov dword [esp + 0x54], edi
div dword [esp + 0x30]
cmp eax, esi
cmova esi, eax
mov eax, ecx
shl eax, 8
xor edx, edx
div esi
mov dword [esp + 0x50], eax
cmp ecx, dword [esp + 0x40]
ja 0x49d6e8
lea eax, [esi - 1]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x80], eax
test eax, eax
je 0x49d5b0
mov esi, dword [esp + 0x14]
nop dword [eax + eax]
movzx ecx, word [esi + 4]
lea ebp, [esi + 4]
mov eax, ecx
mov dword [esp + 0x40], ebp
imul eax, dword [esp + 0x2c]
xor edx, edx
test ebx, ebx
mov ebx, 0x7800
cmove edx, ebx
add eax, edi
mov edi, 1
add edx, eax
mov dword [esp + 0x28], edi
cmp edx, dword [esp + 0x50]
ja 0x49d46e
mov ebp, dword [esp + 0x58]
movzx ebx, word [esi + 6]
sub ebp, esi
add ebx, 3
sar ebp, 3
add ebx, ecx
cmp ebp, edi
jbe 0x49d46a
add esi, 0xe
nop word [eax + eax]
movzx ecx, word [esi - 2]
add ebx, 3
mov eax, ecx
imul eax, dword [esp + 0x2c]
add eax, dword [esp + 0x54]
add edx, eax
movzx eax, word [esi]
add eax, ecx
add ebx, eax
cmp edx, dword [esp + 0x50]
jbe 0x49d45a
mov eax, ebx
shl eax, 8
cmp edx, eax
jb 0x49d462
inc edi
add esi, 8
cmp edi, ebp
jb 0x49d430
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x40]
lea eax, [esi + edi*8]
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x58]
je 0x49d5b0
xor esi, esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x40], 0
test edi, edi
je 0x49d4ce
mov ecx, dword [esp + 0x3c]
mov ebx, edi
mov edx, dword [esp + 0x14]
mov edi, ecx
sub edx, dword [ecx]
movzx ecx, word [ebp]
mov eax, edx
sar eax, 3
cmp dword [edi + 0x28], eax
jne 0x49d4bd
cmp dword [edi + 0x24], 1
jne 0x49d4bd
add ecx, 0x10000
add esi, ecx
add ebp, 8
add edx, 8
sub ebx, 1
jne 0x49d4a3
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
push 0
push esi
push edi
push ebp
push dword [esp + 0x4c]
call fcn.0049da40
mov ecx, dword [esp + 0x24]
mov ebx, eax
push 0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
push dword [esp + 0x44]
sub eax, ecx
push dword [esp + 0xe0]
push eax
push ecx
push dword [esp + 0x94]
push dword [esp + 0x7c]
push dword [esp + 0x84]
push dword [esp + 0x8c]
push esi
push dword [esp + 0x7c]
push edi
push ebp
push dword [esp + 0x6c]
push dword [esp + 0x74]
call fcn.0049cd20
add esp, 0x5c
cmp eax, 0xffffff88
ja 0x49d84e
test eax, eax
je 0x49d592
cmp eax, ebx
jae 0x49d592
add dword [esp + 0x10], eax
xor ecx, ecx
add dword [esp + 0x34], esi
add dword [esp + 0x38], ebx
add dword [esp + 0x4c], edi
add dword [esp + 0x48], edi
add dword [esp + 0x44], edi
cmp dword [esp + 0x70], ecx
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
cmovne eax, ecx
cmp dword [esp + 0x40], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmovne eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], eax
jmp 0x49d596
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
inc ebx
mov dword [esp + 0x30], ebx
cmp ebx, dword [esp + 0x80]
jb 0x49d3e0
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x14]
sub esi, ebp
push 1
push eax
sar esi, 3
push esi
push ebp
push dword [esp + 0x4c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x78], eax
call fcn.0049da40
mov ebx, dword [esp + 0xd0]
mov edi, eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push ebx
push eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
push dword [esp + 0x44]
sub eax, ecx
push dword [esp + 0xe0]
push eax
push ecx
push dword [esp + 0x94]
push dword [esp + 0x7c]
push dword [esp + 0x84]
push dword [esp + 0x8c]
push dword [esp + 0xa8]
push dword [esp + 0x7c]
push esi
push ebp
push dword [esp + 0x6c]
push dword [esp + 0x74]
call fcn.0049cd20
add esp, 0x5c
cmp eax, 0xffffff88
ja 0x49d84e
mov edx, dword [esp + 0x10]
test eax, eax
je 0x49d696
cmp eax, edi
jae 0x49d696
add dword [esp + 0x38], edi
lea ebp, [ebp + esi*8]
xor ecx, ecx
mov dword [esp + 0x14], ebp
add edx, eax
cmp dword [esp + 0x54], ecx
mov eax, dword [esp + 0x20]
cmovne eax, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x24]
xor edi, edi
cmp dword [esp + 0x30], edi
cmovne ecx, edi
mov dword [esp + 0x24], ecx
jmp 0x49d69a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49d6ad
mov esi, dword [esp + 0x74]
mov ecx, 0x102
mov edi, dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x24], 0
je 0x49d6ef
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x88]
cmp eax, 2
je 0x49d6e8
cmp eax, 1
je 0x49d6e8
mov eax, dword [ecx + 0x90]
cmp eax, 2
je 0x49d6e8
cmp eax, 1
je 0x49d6e8
mov eax, dword [ecx + 0x8c]
cmp eax, 2
je 0x49d6e8
cmp eax, 1
jne 0x49d6ef
xor eax, eax
jmp 0x49d84e
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x6c]
cmp ecx, edi
jae 0x49d846
sub edi, ecx
lea eax, [ebx + edi*8]
mov ebx, dword [esp + 0x68]
lea esi, [edi + 3]
sub ebx, edx
cmp esi, ebx
jbe 0x49d71d
mov esi, 0xffffffba
mov eax, esi
jmp 0x49d84e
mov word [edx], ax
shr eax, 0x10
push edi
mov byte [edx + 2], al
lea eax, [edx + 3]
push ecx
push eax
call fcn.004e0ed0
add esp, 0xc
cmp esi, 0xffffff88
jbe 0x49d740
mov eax, esi
jmp 0x49d84e
add dword [esp + 0x10], esi
cmp ebp, dword [esp + 0x58]
jae 0x49d846
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x5c]
movq xmm0, qword [eax + 0x11e8]
mov edx, dword [eax + 0x11f0]
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x88], edx
cmp ecx, ebp
jae 0x49d834
mov ebx, dword [esp + 0x3c]
mov edi, ecx
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, dword [ebx]
sub edi, eax
add eax, 4
mov dword [esp + 0x6c], eax
nop dword [eax + eax]
movzx ebp, word [eax + edi]
mov eax, edi
sar eax, 3
cmp dword [ebx + 0x28], eax
jne 0x49d7ba
cmp dword [ebx + 0x24], 1
jne 0x49d7ba
add ebp, 0x10000
mov ebx, dword [esp + 0x5c]
mov ebx, dword [ebx]
cmp ebx, 3
jbe 0x49d7ce
mov edx, esi
mov esi, ecx
lea ecx, [ebx - 3]
jmp 0x49d7f6
xor eax, eax
test ebp, ebp
sete al
dec eax
add eax, ebx
je 0x49d80b
cmp eax, 3
jne 0x49d7e4
lea ebx, [ecx - 1]
jmp 0x49d7f0
mov ebx, dword [esp + eax*4 + 0x80]
cmp eax, 2
jb 0x49d7f2
mov edx, esi
mov esi, ecx
mov ecx, ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x5c]
add edi, 8
mov eax, dword [esp + 0x6c]
add ebx, 8
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x3c]
jb 0x49d7a0
movq xmm0, qword [esp + 0x80]
mov eax, dword [esp + 0x1c]
movq qword [eax + 0x11e8], xmm0
mov dword [eax + 0x11f0], edx
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df28f
add esp, 0x80
ret