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

Disassembly:
call fcn.00408180
mov dword [esp + 0x44], eax
test eax, eax
je 0x44471d
mov eax, dword [ebx + 0x148]
xor ecx, ecx
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [edi]
mov dword [esp + 0x70], eax
inc ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x4c], 0x48fb84
mov dword [esp + 0x50], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0x491cc0
mov dword [edi], ecx
cmp word [eax + 8], 0x47
jne 0x444735
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ecx
push eax
push edi
push esi
mov ecx, ebx
call fcn.0040f234
test eax, eax
js 0x444b98
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x10]
cmp eax, dword [0x4c62a0]
jg 0x4106cc
test eax, eax
jle 0x4106cc
shl eax, 4
add eax, dword [0x4c62dc]
mov edi, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
cmp word [eax + 8], 0
jne 0x40fe18
cmp dword [eax], 0x2b
je 0x444747
mov edx, 3
xor ebx, ebx
mov esi, edx
cmp dword [ecx + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jg 0x4103a0
mov edi, dword [ebp + 0xc]
mov bl, byte [ebp + 8]
test bl, bl
jne 0x444825
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x18]
jl 0x444b7f
cmp eax, dword [edi + 0x14]
jg 0x444b7f
cmp edx, ecx
jne 0x444b7f
mov eax, dword [edi + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
test eax, eax
js 0x4448f9
lea eax, [esp + 0x30]
mov ecx, 0x4c6280
push eax
call fcn.0040837c
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x444906
invalid
cmp dword [edi + 0x14], 1
jge 0x410179
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [ebx + 0x148], eax
mov eax, dword [ebx]
mov dword [esp + 0x94], 1
mov byte [esp + 0x98], 0
add eax, edi
test byte [esp + edx*4], ah
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add dh, al
test byte [eax + ebx*4], ah
add byte [eax], al
add byte [eax], al
mov dword [esp + 0x9c], 0
mov edi, dword [eax + 4]
add edi, ebx
mov byte [esp + 0xa0], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 1
cmp byte [edi + 0xd], 0
mov byte [esp + 0xb8], 0
jne 0x444ad6
push 0x40
call fcn.00420db6
mov esi, eax
add esp, 4
test esi, esi
je 0x41070b
lea eax, [esp + 0x88]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00409960
lea eax, [esp + 0xa8]
mov byte [esi + 0x10], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
push eax
mov dword [ecx + 8], 0
call fcn.00409960
mov byte [esi + 0x30], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], esi
mov eax, dword [esp + 0x44]
lea esi, [ebx + 0x15c]
inc dword [edi + 4]
mov edi, dword [ebx + 0xf4]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov ebx, dword [esi]
inc eax
push eax
call fcn.004109d0
cmp ebx, dword [esi]
jb 0x444aef
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
mov dword [ebx + 0xf4], edi
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x410712
cmp byte [eax + 0x10], 0
mov eax, dword [ebp + 0x18]
je 0x410614
cmp byte [ecx + 0xd], 0
mov byte [eax], 1
jne 0x444aff
mov edi, dword [ecx + 8]
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x410016
cmp dword [esi + 0xc], 4
je 0x444b0a
mov ecx, esi
call fcn.004098c0
push edi
mov ecx, esi
call fcn.00409960
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov eax, dword [esi + ebx + 8]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x41071a
cmp byte [eax + 0x18], 0
jne 0x444b24
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x410722
cmp byte [eax + 0x30], 0
jne 0x444b3b
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x444b58
cmp byte [esi + 0xc], 0
jne 0x41072a
mov edi, dword [esi + 8]
mov ebx, dword [edi + 0x38]
test edi, edi
je 0x410089
lea ecx, [edi + 0x20]
call fcn.004098c0
mov ecx, edi
call fcn.004098c0
push edi
call fcn.00420e2c
add esp, 4
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x18]
mov byte [esi + 0xd], 0
dec dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x410733
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x14], edx
cmp byte [ecx + 0xd], 0
mov eax, dword [ecx + 8]
jne 0x41073b
mov byte [eax + 0x18], 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x444b74
mov ecx, dword [esi + 8]
lea eax, [esp + 0xa8]
add ecx, 0x20
push eax
call fcn.00409d3c
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x410743
mov ecx, 0x4c6280
mov byte [eax + 0x30], 0
call fcn.004082df
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0xa8]
mov dword [ebx + 0x148], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
call fcn.004098c0
lea ecx, [esp + 0x88]
call fcn.004098c0
lea ecx, [esp + 0x70]
call fcn.004098c0
mov edi, dword [esp + 0x64]
xor esi, esi
test edi, edi
jne 0x4105ab
push dword [esp + 0x60]
call fcn.00420e2c
mov eax, dword [esp + 0x58]
add esp, 4
xor esi, esi
test eax, eax
jne 0x4105d0
push dword [esp + 0x50]
call fcn.00420e2c
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
jmp 0x4101a0
lea edx, [eax*4]
xor esi, esi
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx]
cmp word [eax + 8], si
je 0x4106e7
mov edx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x14], 1
mov ebx, dword [esp + 0x14]
lea edx, [edx*4 + 4]
jmp 0x4101e0
mov eax, dword [ecx + edx]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x4106f0
cmp ax, 0x48
je 0x410604
cmp ax, 0x40
jne 0x41060b
test edi, edi
jne 0x41060b
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x2c]
jg 0x444a5d
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + edx]
cmp byte [eax], 0
jne 0x44497f
mov eax, dword [esp + 0x20]
or esi, 0x200
cmp dword [0x4c6280], 0
mov edx, dword [edx]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
je 0x4449b6
cmp byte [0x4c6289], 0
jne 0x4449cc
mov ebx, dword [0x4c6284]
push ebx
push edi
mov dword [esp + 0x38], ebx
call fcn.00408740
test al, al
jne 0x4449d9
and esi, 0xff00
push 0x20
mov dword [esp + 0x4c], esi
call fcn.00420db6
mov esi, eax
add esp, 4
test esi, esi
je 0x4106fd
xor ecx, ecx
mov dword [esi + 4], 0
mov eax, 8
mov dword [esi + 8], 8
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420db6
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
push 4
call fcn.00420db6
add esp, 4
test eax, eax
je 0x4106f6
mov dword [eax], 1
mov dword [esi + 0xc], eax
cmp esi, edi
je 0x410326
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
cmp eax, 1
jg 0x4449fc
mov ebx, dword [edi + 4]
mov dword [esi + 4], ebx
lea eax, [ebx + 1]
cmp dword [esi + 8], eax
jb 0x444a1c
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push dword [esi]
call fcn.00420e40
mov ebx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x48]
push 0x10
mov dword [esi + 0x10], eax
call fcn.00420db6
mov edi, eax
add esp, 4
test edi, edi
je 0x410704
push dword [esp + 0x40]
mov ecx, edi
mov dword [edi + 8], 0
call fcn.00409960
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
push dword [ebx]
push esi
call fcn.00408660
mov edi, dword [esp + 0x14]
mov dword [ebx], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc ebx
add dword [esp + 0x38], 4
inc eax
add eax, edi
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x44]
mov dword [esp + 0x20], eax
cmp ebx, dword [edi + 0x14]
jle 0x4101a0
jmp 0x40feae
cmp edx, ecx
jae 0x40fe3e
shl esi, 2
inc ebx
mov dword [esp + 0x2c], ebx
xor bl, bl
mov dword [esp + 0x40], 0
mov eax, dword [edi + esi]
cmp word [eax + 8], 0
je 0x444755
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov eax, dword [eax + edx*4]
cmp word [eax + 8], 0x33
je 0x4103da
xor bl, bl
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x64]
cmp esi, eax
je 0x410517
push 1
call fcn.00420db6
add esp, 4
test eax, eax
je 0x4106d3
mov byte [eax], bl
mov ecx, dword [esp + 0x60]
mov dword [ecx + esi*4], eax
inc esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], esi
call fcn.004098c0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], 0
cmp dword [esp + 0x54], eax
je 0x410563
push 0x10
call fcn.00420db6
mov esi, eax
add esp, 4
test esi, esi
je 0x4106da
lea eax, [esp + 0x70]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00409960
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x28]
mov dword [edx + ecx*4], esi
inc ecx
test bl, bl
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x1c]
jne 0x4447c2
push dword [edx + ecx*4 - 4]
mov ecx, ebx
push eax
push edi
call fcn.00409ea0
test eax, eax
js 0x444b98
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
cmp word [eax + 8], 0x41
je 0x410633
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp edx, ecx
je 0x40fe41
mov eax, dword [edi + 4]
mov eax, dword [eax + edx*4]
cmp word [eax + 8], 0x40
jne 0x44480c
lea eax, [edx + 1]
cmp eax, ecx
je 0x44480c
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edi, dword [eax + 4]
mov eax, dword [edi + esi*4]
cmp word [eax + 8], 0x40
jne 0x4104f8
inc esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [ebx + 0x14]
jge 0x40fe3e
mov ebx, dword [esp + 0x2c]
jmp 0x4103a0
add eax, eax
mov dword [esp + 0x48], eax
cmp eax, 8
jae 0x41052b
mov eax, 8
mov dword [esp + 0x48], eax
xor ecx, ecx
mov dword [esp + 0x68], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420db6
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x41066d
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x64]
jmp 0x4103ea
add eax, eax
mov dword [esp + 0x38], eax
cmp eax, 8
jae 0x410577
mov eax, 8
mov dword [esp + 0x38], eax
xor ecx, ecx
mov dword [esp + 0x58], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420db6
mov edx, dword [esp + 0x54]
add esp, 4
mov esi, eax
test edx, edx
jne 0x410698
mov dword [esp + 0x50], esi
jmp 0x410431
mov ebx, dword [esp + 0x60]
nop
push dword [ebx + esi*4]
call fcn.00420e2c
mov dword [ebx + esi*4], 0
add esp, 4
inc esi
cmp esi, edi
jb 0x4105b0
mov ebx, dword [esp + 0x30]
jmp 0x410148
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx + esi*4]
test edi, edi
je 0x4105f3
mov ecx, edi
call fcn.00409c90
push edi
call fcn.00420e2c
mov eax, dword [esp + 0x58]
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword [ecx + esi*4], 0
inc esi
cmp esi, eax
jb 0x4105d4
jmp 0x410162
dec edi
js 0x41020d
inc ebx
add edx, 4
jmp 0x4101e0
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [eax], 0
call fcn.004098c0
mov dword [esi + 0xc], 1
mov dword [esi], 0
jmp 0x410016
inc esi
xor edx, edx
jmp 0x410640
mov eax, dword [ecx + esi*4]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x4106e1
cmp ax, 0x48
je 0x4106c7
cmp ax, 0x40
je 0x410660
inc esi
jmp 0x410640
test edx, edx
jne 0x41065d
mov dword [esp + 0x10], esi
jmp 0x4104b0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x410556
shl ecx, 2
push ecx
push eax
push esi
call fcn.00420e40
add esp, 0xc
push dword [esp + 0x60]
call fcn.00420e2c
add esp, 4
jmp 0x410556
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4105a2
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00420e40
add esp, 0xc
push dword [esp + 0x50]
call fcn.00420e2c
add esp, 4
jmp 0x4105a2
dec edx
js 0x410664
jmp 0x41065d
xor eax, eax
jmp 0x40fdff
xor eax, eax
jmp 0x4103fe
xor esi, esi
jmp 0x410458
inc edx
jmp 0x41065d
mov edi, dword [esp + 0x20]
jmp 0x444950
inc edi
jmp 0x41060b
xor eax, eax
jmp 0x4102e4
xor esi, esi
jmp 0x4102e7
xor edi, edi
jmp 0x410353
xor esi, esi
jmp 0x40ff86
mov eax, dword [eax + 0x38]
jmp 0x40ffd9
mov eax, dword [eax + 0x38]
jmp 0x41002b
mov eax, dword [eax + 0x38]
jmp 0x410042
mov byte [esi + 0xd], 1
jmp 0x410094
mov eax, dword [eax + 0x38]
jmp 0x4100ac
mov eax, dword [eax + 0x38]
jmp 0x4100c3
mov eax, dword [eax + 0x38]
jmp 0x4100f8
mov dl, 0xfd
jmp [esi + edx*4 - 4]
xchg esi, eax
cld
invalid
test dword [esi + edx*4 - 4], ebp
invalid
add al, 0x51
call 0x85469c2b
insb byte es:[edi], dx
xchg esi, eax
cld
invalid
push cs
xor byte [ebx + 0x18013b00], cl
call 0x65b8d696
mov eax, dword [edx]
std
insb byte es:[edi], dx
mov eax, dword [esi + eax]
mov ecx, dword [esi - 0x78]
pop esi
and al, 0x75
add al, 0xb3
add ebx, ebp
or eax, 0x751ef883
dec esi
mov edi, 0x8b004003
inc esi
mov dword [ecx - 0x75], 0x348d8f04
lea ecx, [esp - 0x1776ff49]
enter 0xffffffffffffff8e, 0xffffffffffffff89
push es
jmp 0xfd46d304
and al, 0xe8
inc edi
add edi, edi
je 0x444837
dec esp
push dword [edx + ecx*4 - 4]
lea ebx, [edx + ebp*2]
push edi
call 0xfe3df6ed
dec dword [ebx + 0x3b9e8c8]
invalid
mov ecx, 0x82e8c703
lcall 0xbe7b, 0xe94610fc
xor al, ch
pop dword [edi]
invalid
sbb byte [esp], ah
call 0x2e48a158
mov eax, dword [esi + 4]
mov byte [ebx + 0x680c244c], cl
xchg ecx, eax
invalid
pop edx
or dword [ebp + 0x3675244c], ecx
nop
push edi
mov ebx, dword [eax + ebp*8 - 0x7b]
mov edi, 0x44c72424
and al, 0x2c
test ecx, ecx
jle 0x444936
mov al, 0x8d
pop ds
mov word [ebx - 0x723fcc0f], cs
pop ds
and al, 0x90
push edi
mov esp, dword [eax - 0x18]
adc byte [esi], bl
add dword [esi + ecx*2 + 0x548bef75], edx
and al, 0x34
cmp eax, dword [edi]
jne 0x444945
jmp 0x40fe96
mov edx, dword [esp + 0x34]
cmp eax, dword [edi]
jne 0x444952
jmp 0x1c5afe9a
sysenter
and byte [ebx + ecx*4], cl
dec esp
jmp 0x40fed3
mov eax, dword [esi + 0x18]
pop ebx
jmp 0x9068ec40
sbb byte [ebx - 0x17], bl
out 0xa2, eax
and al, 0x90
push edi
mov esi, dword [eax + ebp*8]
test eax, 0x8bfffc3c
inc esi
sbb al, 0x5b
jmp 0x9068ec51
mov eax, dword [edx]
jo 0x44499a
jne 0xc32cdff5
invalid
mov eax, dword [ecx + edx]
mov ecx, dword [esi - 0x78]
pop esi
and al, 0x74
or al, byte [ebx + 0x6751ef8]
mov esi, 0xc7468b00
inc edi
mov eax, dword [ecx + edi*4]
lea edx, [edi*4 + 0x4c8b0c20]
or al, 0x8b
dec esp
dec dword [ecx + 0x7400e906]
fimul dword [ecx - 0x16dfdb84]
mov eax, 0x28bfffc
cmp dword [eax + 0xc], 6
js 0x4449da
push es
jne 0x4449d5
mov edx, dword [eax]
jmp 0x4449d7
xor edx, edx
mov edi, dword [esp + 0x20]
and al, 0x20
and byte [ecx + 0x380200ce], al
push eax
or esi, 0x50380200
push 1
push esi
push edx
mov eax, dword [ecx + edi*4]
push dword [eax]
call 0x760e5981
aas
mov ecx, edi
call 0x88a4901
invalid
sar byte [ecx + 0x520f003e], 0x57
mov ecx, 0xfffc9f23
call fcn.004089fd
invalid
pop eax
or cl, ch
invalid
inc esi
or al, 0xff
add cl, ch
or bh, byte [ecx + 0x23e90000]
out dx, al
xor eax, 0xfc085fc
or dl, bl
jmp 0x9b8d674
inc dword [ebp + 8]
call dword [esp + 0x20]
xor eax, eax
lea esi, [eax + 0x6a]
add dword [ecx + 0x380200ce], eax
push eax
push esi
push eax
std
inc dword [ebp + 0x34]
add bl, ch
and al, 0x8b
push cs
nop
push dword [eax]
call fcn.0040850a
jmp 0xe87503c0
xor al, ch
pop dword [edi]
invalid
jmp 0x444b30
test byte [ebx + edx*2], ah
call 0xe894dfe7
add dword [eax + 2], edx
add dh, al
inc edi
or eax, 0xb4a0e900
or ch, bl
invalid
mov byte [edi + 0xd], 0
jmp 0xdd4cffd9
iretd
jne 0x8d4051
push dword [edi + 8]
mov edi, edi
mov ebp, eax
sub byte [0xf2e9fffc], dh
mov ah, 0xc
wait
cld
inc dword [eax + ebp*8]
mov dl, 0xfd
std
jmp [eax + eax*2 + 0x14]
clc
jmp 0x9b51007f
call fcn.00409d86
jmp 0x52c10096