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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x44a2c0]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x74]
xor eax, esp
mov dword [esp + 0x50], eax
test ebp, ebp
je 0x404d6c
movzx ecx, byte [esi]
mov eax, 1
cmp cl, 0x2b
je 0x404d6e
xor eax, eax
cmp cl, 0x2d
sete al
jmp 0x404d6e
xor eax, eax
mov edx, dword [edi + 0x14]
mov ecx, 0x440134
not edx
test edx, 0x3000
jne 0x404d9f
lea ebx, [eax + 2]
mov ecx, 0x440137
cmp ebx, ebp
ja 0x404d9f
cmp byte [esi + eax], 0x30
jne 0x404d9f
movzx edx, byte [eax + esi + 1]
or edx, 0x20
cmp edx, 0x78
je 0x404da1
mov ebx, eax
push ecx
push esi
call fcn.0040e7c0
add esp, 8
mov ebp, esi
mov esi, eax
mov word [esp + 0x1e], 0x2e
call fcn.0040e78a
mov eax, dword [eax]
movzx eax, byte [eax]
mov byte [esp + 0x1e], al
lea eax, [esp + 0x1e]
push eax
push ebp
call fcn.0040e7c0
add esp, 8
mov dword [esp], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
push eax
call fcn.00404210
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], eax
test ecx, ecx
je 0x404e12
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x404e12
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ebp, dword [esp + 0x80]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
test ebp, ebp
js 0x405568
cmp ebp, 0xf
ja 0x404e62
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 0xf
lea eax, [esp + 0x38]
push ebp
push 0
push eax
call fcn.004091d0
add esp, 0xc
lea ebp, [esp + ebp + 0x38]
jmp 0x404ece
mov eax, ebp
or eax, 0xf
mov edi, 0x16
mov dword [esp + 0x4c], 0xf
cmp eax, 0x17
cmovae edi, eax
cmp edi, 0xfff
jb 0x404e99
lea eax, [edi + 0x24]
push eax
call fcn.0040593e
add esp, 4
lea ebp, [eax + 0x23]
and ebp, 0xffffffe0
mov dword [ebp - 4], eax
jmp 0x404ea7
lea eax, [edi + 1]
push eax
call fcn.0040593e
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
push eax
mov edi, eax
push 0
push ebp
call fcn.004091d0
add esp, 0xc
add ebp, edi
mov edi, dword [esp + 0x74]
mov byte [ebp], 0
cmp dword [esp + 0x4c], 0x10
jb 0x404ee1
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov edx, dword [ecx]
add eax, ebp
push dword [esp + 4]
push eax
push ebp
call dword [edx + 0x1c]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea edi, [esp + 0x20]
push edi
call fcn.00404300
add esp, 4
mov ecx, dword [esp + 0x24]
mov ebp, eax
test ecx, ecx
je 0x404f34
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x404f34
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp]
mov ecx, ebp
push edi
call dword [eax + 0x14]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x10]
mov edx, dword [esp]
mov byte [esp + 4], al
cmp edx, dword [esp + 0x80]
je 0x404f74
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xc]
cmp dword [esp + 0x4c], 0x10
jb 0x404f6a
mov ecx, dword [esp + 0x38]
jmp 0x404f6e
lea ecx, [esp + 0x38]
mov edx, dword [esp]
mov byte [ecx + edx], al
cmp byte [esp + 0x84], 0
je 0x405064
cmp edx, dword [esp + 0x80]
cmovne esi, edx
cmp dword [esp + 0x34], 0x10
jb 0x404f97
mov edi, dword [esp + 0x20]
movsx eax, byte [edi]
mov ecx, eax
dec cl
cmp cl, 0x7d
ja 0x405064
mov ecx, esi
sub ecx, ebx
cmp ecx, eax
jbe 0x405064
movsx ecx, byte [esp + 4]
lea ebp, [esp + 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x48]
sub esi, eax
mov eax, ecx
sub eax, esi
jb 0x405563
mov edx, dword [esp + 0x4c]
cmp edx, ecx
jne 0x405010
sub esp, 0x14
movzx eax, byte [esp + 0x30]
mov ecx, ebp
mov byte [esp + 4], al
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
mov dword [esp], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.00404b80
cmp byte [edi + 1], 0
jg 0x40504b
jmp 0x40504c
inc ecx
mov dword [esp], edi
mov edi, ebp
mov dword [esp + 0x48], ecx
cmp edx, 0x10
jb 0x405023
mov ebp, dword [esp + 0x38]
inc eax
lea ecx, [ebp + esi]
lea edx, [ebp + esi + 1]
push eax
push ecx
push edx
call fcn.00408b60
add esp, 0xc
movzx eax, byte [esp + 4]
mov byte [ebp + esi], al
mov ebp, edi
mov edi, dword [esp]
cmp byte [edi + 1], 0
jle 0x40504c
inc edi
movsx eax, byte [edi]
mov ecx, eax
dec cl
cmp cl, 0x7d
ja 0x405064
mov ecx, esi
sub ecx, ebx
cmp ecx, eax
ja 0x404fc0
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x48]
xor ecx, ecx
mov esi, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
mov dword [esp + 0xc], edi
mov ebp, esi
sub ebp, edi
mov dword [esp + 0x18], esi
cmovb ebp, ecx
cmp esi, 1
lea esi, [esp + 0x6c]
sbb eax, 0
mov eax, 0x1c0
cmovl ebp, ecx
and eax, dword [edx + 0x14]
cmp eax, 0x40
je 0x4050ca
cmp eax, 0x100
jne 0x4050f5
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, eax
mov byte [esp], al
test ebx, ebx
je 0x405226
cmp dword [esp + 0x4c], 0x10
jb 0x4051a8
mov ecx, dword [esp + 0x38]
jmp 0x4051ac
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, eax
mov byte [esp + 8], al
mov dword [esp + 4], eax
test ebx, ebx
je 0x405322
cmp dword [esp + 0x4c], 0x10
jb 0x4052ac
mov ecx, dword [esp + 0x38]
jmp 0x4052b0
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, eax
mov byte [esp], al
test ebp, ebp
je 0x40517a
mov edx, dword [esp + 0x18]
movzx ecx, byte [esp + 0x78]
cmp edi, edx
mov ebp, edx
mov dword [esp + 4], ecx
cmovb ebp, edi
sub ebp, edx
jmp 0x405127
mov byte [esp], 1
inc ebp
je 0x40517a
test esi, esi
je 0x405120
mov ecx, dword [esi + 0x20]
mov edi, ebx
mov ebx, eax
cmp dword [ecx], 0
je 0x405160
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x405160
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx eax, byte [esp + 0x78]
mov byte [ecx], al
mov eax, ebx
mov ebx, edi
mov edi, dword [esp + 0xc]
jmp 0x405124
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 4]
call dword [eax + 0xc]
cmp eax, 0xffffffff
mov eax, ebx
mov ebx, edi
mov edi, dword [esp + 0xc]
jne 0x405124
jmp 0x405120
and eax, 0xffffff00
test ebx, ebx
je 0x405197
cmp dword [esp + 0x4c], 0x10
jb 0x405337
mov ebp, dword [esp + 0x38]
jmp 0x40533b
mov ecx, eax
movzx eax, byte [esp]
xor ebp, ebp
or ecx, eax
mov eax, ecx
jmp 0x4053b4
lea ecx, [esp + 0x38]
xor edi, edi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x4051c9
mov byte [esp], 1
inc edi
cmp ebx, edi
je 0x405226
test esi, esi
je 0x4051c0
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x20]
movzx eax, byte [eax + edi]
cmp dword [ecx], 0
je 0x405210
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
test edx, edx
jle 0x405210
dec edx
mov dword [ecx], edx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
inc ecx
mov dword [edx], ecx
mov edx, dword [esp + 0x10]
mov byte [edx], al
mov eax, dword [esp + 4]
jmp 0x4051c4
mov edx, dword [esi]
movzx eax, al
mov ecx, esi
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
mov eax, dword [esp + 4]
jne 0x4051c4
jmp 0x4051c0
and eax, 0xffffff00
test ebp, ebp
je 0x40529f
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
movzx edi, byte [esp + 0x78]
cmp eax, ecx
mov ebp, ecx
cmovb ebp, eax
sub ebp, ecx
jmp 0x40525b
mov byte [esp], 1
inc ebp
je 0x4053a2
test esi, esi
je 0x405250
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x405290
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x405290
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx edx, byte [esp + 0x78]
mov byte [ecx], dl
jmp 0x405254
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x405254
jmp 0x405250
movzx edx, byte [esp]
mov ecx, eax
or ecx, edx
jmp 0x4053ac
lea ecx, [esp + 0x38]
xor edi, edi
mov dword [esp], ecx
jmp 0x4052ca
mov byte [esp + 8], 1
inc edi
cmp ebx, edi
je 0x405322
test esi, esi
je 0x4052c0
mov eax, dword [esp]
mov ecx, dword [esi + 0x20]
movzx eax, byte [eax + edi]
cmp dword [ecx], 0
je 0x405310
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
test edx, edx
jle 0x405310
dec edx
mov dword [ecx], edx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
inc ecx
mov dword [edx], ecx
mov edx, dword [esp + 0x10]
mov byte [edx], al
jmp 0x4052c5
mov edx, dword [esi]
movzx eax, al
mov ecx, esi
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
jne 0x4052c5
jmp 0x4052c0
mov ecx, dword [esp + 4]
movzx eax, byte [esp + 8]
and ecx, 0xffffff00
or ecx, eax
mov eax, ecx
jmp 0x4053b0
lea ebp, [esp + 0x38]
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
jmp 0x405359
mov byte [esp], 1
inc edi
cmp ebx, edi
je 0x4053a2
test esi, esi
je 0x405350
mov ecx, dword [esi + 0x20]
movzx eax, byte [ebp + edi]
cmp dword [ecx], 0
je 0x405390
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
test edx, edx
jle 0x405390
dec edx
mov dword [ecx], edx
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
lea ebp, [edx + 1]
mov dword [ecx], ebp
mov ebp, dword [esp + 8]
mov byte [edx], al
jmp 0x405354
mov edx, dword [esi]
movzx eax, al
mov ecx, esi
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
jne 0x405354
jmp 0x405350
movzx eax, byte [esp]
mov ecx, dword [esp + 4]
or ecx, eax
mov eax, ecx
xor ebp, ebp
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x6c]
mov byte [esp], al
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov ecx, eax
cmp edi, ebx
je 0x40545a
cmp dword [esp + 0x4c], 0x10
jb 0x4053d7
mov ecx, dword [esp + 0x38]
jmp 0x4053db
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
jmp 0x4053f9
mov byte [esp], 1
inc ebx
cmp edi, ebx
je 0x40545a
test esi, esi
je 0x4053f0
mov ecx, ebx
mov ebx, eax
mov eax, dword [esp + 8]
mov edx, dword [esi + 0x20]
mov ebp, ecx
movzx eax, byte [eax + ecx]
cmp dword [edx], 0
je 0x405440
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
test edx, edx
jle 0x405440
dec edx
mov dword [ecx], edx
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
lea edi, [edx + 1]
mov dword [ecx], edi
mov byte [edx], al
mov eax, ebx
mov ebx, ebp
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
jmp 0x4053f4
mov edx, dword [esi]
movzx eax, al
mov ecx, esi
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
mov eax, ebx
mov ebx, ebp
mov ebp, dword [esp + 4]
jne 0x4053f4
jmp 0x4053f0
mov ecx, dword [esp + 0x74]
and eax, 0xffffff00
mov edi, eax
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x20], 0
test ebp, ebp
je 0x4054cf
movzx ebx, byte [esp + 0x78]
jmp 0x405487
mov byte [esp], 1
dec ebp
je 0x4054cf
test esi, esi
je 0x405480
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x4054c0
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x4054c0
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx edx, byte [esp + 0x78]
mov byte [ecx], dl
jmp 0x405484
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x405484
jmp 0x405480
movzx eax, byte [esp]
or edi, eax
mov eax, dword [esp + 0x68]
mov dword [eax], edi
mov edi, eax
mov dword [eax + 4], esi
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x405516
mov ecx, dword [esp + 0x20]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x40550c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40556d
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.00405930
add esp, 8
mov eax, dword [esp + 0x4c]
cmp eax, 0x10
jb 0x40554c
mov ecx, dword [esp + 0x38]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x405542
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40556d
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.00405930
add esp, 8
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0040596e
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
call fcn.00404d10
call fcn.00401d40
call fcn.0040c807
int3