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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc64
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
mov byte [esp + 8], 0
cmp byte [0x66a8b4], 0
je 0x49db7b
mov eax, 0x88b138
lea edx, [esp + 0x78]
mov ecx, 0x103
xchg edx, eax
call fcn.0040da74
jmp 0x49db82
mov word [esp + 0x78], 0
push 0x588
push 0
mov ecx, dword [0x66d194]
mov ecx, dword [ecx]
lea edx, [esp + 0x80]
mov eax, dword [esp + 8]
call fcn.0043db9c
test al, al
je 0x49e781
lea eax, [esp + 0x78]
xor edx, edx
call fcn.00416e20
mov esi, eax
cmp esi, 0xffffffff
jne 0x49dbd7
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
jmp 0x49e781
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x2cc]
mov ecx, 0x28
mov eax, esi
call fcn.004167a8
test al, al
je 0x49dbfa
cmp dword [esp + 0x28], 0x28
je 0x49dc1d
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
mov eax, esi
call fcn.00416794
jmp 0x49e781
cmp dword [esp + 0x2c8], 0x504b4244
jne 0x49dcff
cmp dword [esp + 0x2cc], 1
jne 0x49dcff
cmp dword [esp + 0x2e4], 0
jne 0x49dcff
cmp dword [esp + 0x2e8], 0
jne 0x49dcff
lea edx, [esp + 0x2f0]
lea eax, [esp + 0x2c8]
mov ecx, 0x28
call fcn.00402da0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2f4]
lea edx, [eax + 0x28]
mov ecx, 0xc
mov eax, esi
call fcn.004167a8
test al, al
je 0x49dc96
cmp dword [esp + 0x28], 0xc
je 0x49dcb9
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
mov eax, esi
call fcn.00416794
jmp 0x49e781
mov eax, dword [esp + 0x310]
mov dword [esp + 0x2dc], eax
mov eax, dword [esp + 0x314]
mov dword [esp + 0x2e0], eax
mov eax, dword [esp + 0x318]
mov dword [esp + 0x2e4], eax
mov eax, dword [esp + 0x31c]
mov dword [esp + 0x2e8], eax
mov eax, dword [esp + 0x320]
mov dword [esp + 0x2ec], eax
cmp dword [esp + 0x2c8], 0
jne 0x49dd1d
cmp dword [esp + 0x2cc], 0
jne 0x49dd1d
cmp dword [esp + 0x2e4], 0
je 0x49dd60
cmp dword [esp + 0x2c8], 0x504b4244
jne 0x49ddcf
mov ebx, dword [esp + 0x2cc]
test ebx, ebx
je 0x49dd47
cmp ebx, 1
je 0x49dd47
cmp ebx, 2
jne 0x49ddcf
mov eax, dword [edi + 0x14e0]
cmp eax, dword [esp + 0x2e4]
je 0x49dd60
mov eax, dword [0x66d16c]
cmp byte [eax], 0
je 0x49ddcf
cmp dword [esp + 0x2e8], 0
jne 0x49dd88
mov eax, dword [0x66d16c]
cmp byte [eax], 0
je 0x49ddcf
cmp dword [esp + 0x2c8], 0
je 0x49ddcf
cmp dword [esp + 0x2cc], 0
je 0x49ddcf
cmp dword [esp + 0x2cc], 2
jb 0x49ddf2
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x328]
mov ecx, 0x58
mov eax, esi
call fcn.004167a8
test al, al
je 0x49ddcf
cmp dword [esp + 0x28], 0x58
jne 0x49ddcf
cmp dword [esp + 0x324], 0x80
jb 0x49ddcf
cmp dword [esp + 0x324], 0x100000
jbe 0x49ddf2
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
mov eax, esi
call fcn.00416794
jmp 0x49e781
cmp dword [esp + 0x2cc], 2
jb 0x49df0a
mov eax, dword [esp + 0x324]
call fcn.0040d864
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x2c8]
mov ecx, 0x28
call fcn.00402da0
mov eax, dword [esp + 0x30]
lea edx, [eax + 0x28]
lea eax, [esp + 0x324]
mov ecx, 0x58
call fcn.00402da0
cmp dword [esp + 0x324], 0x80
jbe 0x49deb0
lea eax, [esp + 0x28]
push eax
mov ecx, dword [esp + 0x328]
sub ecx, 0x28
sub ecx, 0x58
mov eax, dword [esp + 0x34]
lea edx, [eax + 0x80]
mov eax, esi
call fcn.004167a8
test al, al
je 0x49de84
mov eax, dword [esp + 0x324]
sub eax, 0x28
sub eax, 0x58
cmp eax, dword [esp + 0x28]
je 0x49deb0
lea eax, [esp + 0x30]
call fcn.0040d7e8
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
mov eax, esi
call fcn.00416794
jmp 0x49e781
mov eax, dword [esp + 0x30]
add eax, 0x28
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x324]
mov eax, dword [esp + 0x30]
call fcn.00418a2c
cmp eax, dword [esp + 0x328]
je 0x49df01
lea eax, [esp + 0x30]
call fcn.0040d7e8
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
mov eax, esi
call fcn.00416794
jmp 0x49e781
lea eax, [esp + 0x30]
call fcn.0040d7e8
mov eax, dword [edi + 0x14e0]
cmp eax, dword [esp + 0x2e4]
je 0x49df51
mov eax, dword [0x66d824]
mov eax, dword [eax]
push eax
push 0x20311
push 0
lea ecx, [esp + 0x84]
mov edx, dword [0x66d128]
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
call fcn.0043e188
cmp eax, 6
je 0x49df51
mov eax, esi
call fcn.00416794
jmp 0x49e781
cmp dword [esp + 0x2e8], 0
jne 0x49dfa2
cmp dword [esp + 0x2ec], 0
jne 0x49df6f
mov ebx, dword [0x66d770]
mov ebx, dword [ebx]
jmp 0x49df71
xor ebx, ebx
push ebx
push 0x20311
push 0
lea ecx, [esp + 0x84]
mov edx, dword [0x66d128]
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
call fcn.0043e188
cmp eax, 6
je 0x49dfa2
mov eax, esi
call fcn.00416794
jmp 0x49e781
test byte [esp + 0x2dd], 1
je 0x49dff0
lea edx, [esp + 0x3c]
mov eax, edi
call fcn.0049aef0
test al, al
je 0x49dff0
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x2d8]
je 0x49dff0
push 0x20311
lea ecx, [esp + 0x7c]
mov edx, 0xca8
mov eax, dword [esp + 4]
call fcn.0043e240
cmp eax, 6
je 0x49dff0
mov eax, esi
call fcn.00416794
jmp 0x49e781
cmp dword [esp + 0x2d4], 0
jne 0x49e002
cmp dword [esp + 0x2d0], 0
je 0x49e04a
mov eax, dword [edi + 0x14f4]
mov edx, dword [edi + 0x14f8]
cmp edx, dword [esp + 0x2d4]
jne 0x49e020
cmp eax, dword [esp + 0x2d0]
je 0x49e04a
push 0x20311
lea ecx, [esp + 0x7c]
mov edx, 0xca9
mov eax, dword [esp + 4]
call fcn.0043e240
cmp eax, 6
je 0x49e04a
mov eax, esi
call fcn.00416794
jmp 0x49e781
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [esp + 0x2cc], 0
jne 0x49e078
imul eax, dword [esp + 0x2e8], 0x20c
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
call fcn.0040d864
mov dword [esp + 0x2c], eax
jmp 0x49e097
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2e8], 0
jle 0x49e097
lea eax, [esp + 0x44]
call fcn.00418aac
cmp dword [esp + 0x2cc], 0
jne 0x49e205
cmp dword [esp + 0x2c8], 0
jne 0x49e1b0
mov eax, dword [esp + 0x2e8]
dec eax
test eax, eax
jl 0x49e1a7
inc eax
mov dword [esp + 0x64], eax
xor ebx, ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x284]
mov ecx, 0x20c
mov eax, esi
call fcn.004167a8
test al, al
je 0x49e0f0
cmp dword [esp + 0x28], 0x20c
je 0x49e11c
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
lea eax, [esp + 0x2c]
call fcn.0040d7e8
mov eax, esi
call fcn.00416794
jmp 0x49e781
imul eax, ebx, 0x83
mov edx, dword [esp + 0x2c]
mov dword [edx + eax*4], 1
imul eax, ebx, 0x83
mov edx, dword [esp + 0x2c]
lea ecx, [edx + eax*4 + 4]
imul eax, ebx, 0x83
mov edx, dword [esp + 0x2c]
lea eax, [edx + eax*4 + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x280]
mov dword [ecx], eax
mov eax, dword [esp + 0x284]
xor edx, edx
mov edx, dword [esp + 0x68]
mov dword [edx], eax
imul eax, ebx, 0x83
mov edx, dword [esp + 0x2c]
push esi
push edi
lea edi, [edx + eax*4 + 0x1ca]
lea esi, [esp + 0x290]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
imul eax, ebx, 0x83
mov edx, dword [esp + 0x2c]
mov word [edx + eax*4 + 0x20a], 0xaa55
inc ebx
dec dword [esp + 0x64]
jne 0x49e0ca
mov eax, esi
call fcn.00416794
jmp 0x49e205
lea eax, [esp + 0x28]
push eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov eax, esi
call fcn.004167a8
test al, al
je 0x49e1d2
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x38]
je 0x49e1fe
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
lea eax, [esp + 0x2c]
call fcn.0040d7e8
mov eax, esi
call fcn.00416794
jmp 0x49e781
mov eax, esi
call fcn.00416794
lea edx, [esp + 0x78]
mov eax, 0x88b138
mov ecx, 0x103
call fcn.0040da74
mov byte [0x66a8b4], 1
push 1
push 0
mov ecx, dword [esp + 0xc]
mov edx, edi
mov eax, dword [esp + 8]
call fcn.0049da5c
test al, al
jne 0x49e25c
cmp dword [esp + 0x2cc], 0
jne 0x49e250
cmp dword [esp + 0x2c], 0
je 0x49e250
lea eax, [esp + 0x2c]
call fcn.0040d7e8
mov eax, esi
call fcn.00416794
jmp 0x49e781
xor edx, edx
xor eax, eax
call fcn.00444420
mov dword [esp + 0x60], eax
cmp dword [esp + 0x2cc], 0
jbe 0x49e27e
xor edx, edx
mov eax, dword [esp + 0x60]
call fcn.004445fc
mov eax, esi
call fcn.004160a0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.00416090
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
xor eax, eax
mov dword [esp + 0x5c], eax
xor ebx, ebx
cmp dword [esp + 0x2cc], 0
jne 0x49e359
cmp ebx, dword [esp + 0x2e8]
jge 0x49e6c1
mov edx, dword [esp + 0x2e8]
mov eax, ebx
call fcn.00442a30
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.004444e0
mov eax, dword [edi + 0x14e0]
xor edx, edx
push edx
push eax
imul eax, ebx, 0x83
mov edx, dword [esp + 0x34]
mov eax, dword [edx + eax*4 + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
imul eax, ebx, 0x83
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + eax*4 + 4]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
call fcn.00405158
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
push dword [esp + 0x54]
push dword [esp + 0x54]
mov eax, dword [esp + 0xc]
push eax
push 0x101
imul eax, ebx, 0x83
mov edx, dword [esp + 0x3c]
lea edx, [edx + eax*4 + 0xc]
mov ecx, 0x200
mov eax, edi
call fcn.0048b160
mov ebp, eax
inc ebx
jmp 0x49e589
inc ebx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.00442a3c
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.004444e0
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x380]
mov ecx, 0x20
mov eax, esi
call fcn.004167a8
test al, al
je 0x49e39d
cmp dword [esp + 0x28], 0x20
je 0x49e3a6
xor eax, eax
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0x28]
xor edx, edx
add eax, dword [esp + 0x18]
adc edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x380]
cmp eax, dword [esp + 0x38]
jbe 0x49e3e1
mov eax, dword [esp + 0x380]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x38]
call fcn.0040d7f8
cmp dword [esp + 0x380], 0
je 0x49e417
lea eax, [esp + 0x28]
push eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x384]
mov eax, esi
call fcn.004167a8
test al, al
je 0x49e417
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x380]
je 0x49e4c7
cmp dword [esp + 0x2e8], 0
je 0x49e42a
cmp ebx, dword [esp + 0x2e8]
jl 0x49e449
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x24]
jne 0x49e443
cmp eax, dword [esp + 0x20]
jb 0x49e449
jmp 0x49e6c1
jge 0x49e6c1
mov eax, dword [0x66d16c]
cmp byte [eax], 0
je 0x49e480
push 0x675
push 0x20311
push 0
lea ecx, [esp + 0x84]
mov edx, dword [0x66d128]
mov edx, dword [edx]
mov eax, dword [esp + 0xc]
call fcn.0043e188
cmp eax, 6
je 0x49e6c1
lea eax, [esp + 0x60]
call fcn.00443f78
push 0x20002
lea ecx, [esp + 0x7c]
mov edx, 0x675
mov eax, dword [esp + 4]
call fcn.0043e240
mov eax, esi
call fcn.00416794
cmp dword [esp + 0x30], 0
je 0x49e4b7
lea eax, [esp + 0x30]
call fcn.0040d7e8
mov edx, dword [esp + 4]
mov eax, edi
call fcn.0049db08
jmp 0x49e781
mov eax, dword [esp + 0x28]
xor edx, edx
add eax, dword [esp + 0x18]
adc edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x60]
call fcn.0044494c
test al, al
je 0x49e51a
lea eax, [esp + 0x60]
call fcn.00443f78
mov eax, esi
call fcn.00416794
cmp dword [esp + 0x30], 0
je 0x49e50a
lea eax, [esp + 0x30]
call fcn.0040d7e8
mov edx, dword [esp + 4]
mov eax, edi
call fcn.0049db08
jmp 0x49e781
cmp dword [esp + 0x2e8], 0
jle 0x49e54d
lea edx, [esp + 0x37c]
lea eax, [esp + 0x44]
mov ecx, 0x20
call fcn.00418abc
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x380]
mov edx, dword [esp + 0x30]
call fcn.00418abc
mov eax, dword [esp + 0x384]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x388]
mov dword [esp + 0x54], eax
push dword [esp + 0x54]
push dword [esp + 0x54]
mov eax, dword [esp + 0xc]
push eax
push 0x101
mov ecx, dword [esp + 0x390]
mov edx, dword [esp + 0x40]
mov eax, edi
call fcn.0048b160
mov ebp, eax
test ebp, ebp
je 0x49e2aa
cmp dword [esp + 0x54], 0
jne 0x49e5a1
cmp dword [esp + 0x50], 0
jae 0x49e60c
jmp 0x49e5a3
jge 0x49e60c
mov eax, dword [edi + 0x14e0]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jbe 0x49e5da
mov eax, dword [edi + 0x14e0]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x14e0]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
jmp 0x49e646
mov eax, dword [edi + 0x14e0]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
call fcn.00405210
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x14e0]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
call fcn.0040517c
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
lea eax, [esp + 0xc]
mov edx, dword [esp + 0x70]
mov dword [eax], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 4], edx
cmp ebp, 0xffff8600
jne 0x49e669
mov dword [esp + 0x40], 0x61d
jmp 0x49e671
mov dword [esp + 0x40], 0x599
cmp ebp, 0xffff8600
jne 0x49e68f
push 0x402
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x44]
xor eax, eax
call fcn.0043e22c
jmp 0x49e6c1
test byte [esp + 0x5c], 1
jne 0x49e2aa
push 0x401
push 0x60e
push 1
push 1
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x54]
xor eax, eax
call fcn.004423a0
jmp 0x49e2aa
lea eax, [esp + 0x60]
call fcn.00443f78
cmp dword [esp + 0x2cc], 0
jne 0x49e6f0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
call fcn.00418a2c
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
call fcn.0040d7e8
jmp 0x49e71e
cmp dword [esp + 0x30], 0
je 0x49e700
lea eax, [esp + 0x30]
call fcn.0040d7e8
cmp dword [esp + 0x2e8], 0
jle 0x49e717
lea eax, [esp + 0x44]
call fcn.00418aec
mov dword [esp + 0x48], eax
mov eax, esi
call fcn.00416794
test ebp, ebp
jne 0x49e76f
cmp dword [esp + 0x2c8], 0
je 0x49e76f
cmp dword [esp + 0x2e8], 0
jle 0x49e76f
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x2ec]
je 0x49e76f
push 0x20311
lea ecx, [esp + 0x7c]
mov edx, dword [0x66d128]
mov edx, dword [edx]
mov eax, dword [esp + 4]
call fcn.0043e240
cmp eax, 6
je 0x49e76f
mov edx, dword [esp + 4]
mov eax, edi
call fcn.0049db08
jmp 0x49e781
mov cl, 1
mov edx, dword [esp + 4]
mov eax, edi
call fcn.0049dac0
mov byte [esp + 8], 1
movzx eax, byte [esp + 8]
add esp, 0x39c
pop ebp
pop edi
pop esi
pop ebx
ret