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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x437d59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0045d84e
and dword [esp + 0x74], 0
push eax
call fcn.0046e14b
or dword [esp + 0x78], 0xffffffff
pop ecx
mov edi, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], edi
call fcn.00419380
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call fcn.004679bb
xor esi, esi
inc esi
mov dword [esp + 0x74], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], al
call fcn.0045d48b
mov edi, dword [ebp + 0x20]
mov byte [esp + 0x74], 2
mov al, byte [edi]
cmp al, 0x2b
je 0x47637f
cmp al, 0x2d
je 0x47637f
and dword [esp + 0x14], 0
jmp 0x476383
mov dword [esp + 0x14], esi
call fcn.0041eb42
mov eax, dword [eax]
push dword [ebp + 0x30]
mov al, byte [eax]
push 0x65
push edi
mov byte [esp + 0x18], al
mov byte [esp + 0x19], 0x65
mov byte [esp + 0x1a], 0
call fcn.0041db40
add esp, 0xc
push dword [ebp + 0x30]
mov esi, eax
movsx eax, byte [esp + 0x10]
push eax
push edi
call fcn.0041db40
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4763c7
and dword [ebp + 0x2c], eax
lea ecx, [esp + 0x4c]
call fcn.00446525
cmp byte [eax], 0x7f
je 0x4764da
cmp byte [eax], 0
jle 0x4764da
push dword [ebp + 0x30]
lea ecx, [esp + 0x34]
push edi
call fcn.0046f05b
test esi, esi
jne 0x476403
push 0x30
push dword [ebp + 0x2c]
lea ecx, [esp + 0x38]
call fcn.00467ff0
jmp 0x47642d
cmp dword [esp + 0x10], 0
jne 0x47641c
push 0x30
push dword [ebp + 0x24]
lea ecx, [esp + 0x38]
call fcn.00467ff0
and dword [ebp + 0x24], 0
push 0x30
push dword [ebp + 0x2c]
sub esi, edi
push esi
lea ecx, [esp + 0x3c]
call fcn.0046ed41
mov esi, dword [esp + 0x10]
push 0x30
lea ecx, [esp + 0x34]
test esi, esi
jne 0x476445
push dword [ebp + 0x24]
call fcn.00467ff0
jmp 0x476466
push dword [ebp + 0x28]
sub esi, edi
lea eax, [esi + 1]
push eax
call fcn.0046ed41
push 0x30
push dword [ebp + 0x24]
lea ecx, [esp + 0x38]
push esi
call fcn.0046ed41
and dword [ebp + 0x28], 0
and dword [ebp + 0x24], 0
lea ecx, [esp + 0x4c]
call fcn.00446525
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x38]
call fcn.0044681f
push eax
call fcn.0041ed60
pop ecx
pop ecx
mov esi, eax
jmp 0x4764bc
test al, al
jle 0x4764c2
mov ecx, esi
sub ecx, dword [esp + 0x14]
movsx eax, al
cmp eax, ecx
jae 0x4764c2
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x3c]
call fcn.0046ed41
lea eax, [edi + 1]
cmp byte [eax], 0
jle 0x4764bc
mov edi, eax
mov al, byte [edi]
cmp al, 0x7f
jne 0x476491
push 0
lea ecx, [esp + 0x34]
call fcn.0044681f
and dword [ebp + 0x2c], 0
mov edi, eax
mov eax, dword [esp + 0x44]
mov dword [ebp + 0x30], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
add eax, ecx
add eax, dword [ebp + 0x2c]
mov ecx, dword [ebx + 0x18]
add eax, dword [ebp + 0x30]
test ecx, ecx
jle 0x4764fb
cmp ecx, eax
jbe 0x4764fb
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x476500
and dword [esp + 0x10], 0
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp + 8]
and eax, 0x1c0
cmp eax, 0x40
je 0x47656f
cmp eax, 0x100
jne 0x476544
cmp dword [esp + 0x14], 0
jbe 0x476544
push 1
push edi
push dword [ebp + 0x14]
lea eax, [esp + 0x20]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0045c531
mov ecx, dword [eax]
add esp, 0x18
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
inc edi
dec dword [ebp + 0x30]
mov dword [ebp + 0x14], eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0045c508
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
add esp, 0x18
and dword [esp + 0x10], 0
mov dword [ebp + 0x14], eax
movsx eax, byte [esp + 0xc]
push dword [ebp + 0x30]
push eax
push edi
call fcn.0041db40
add esp, 0xc
test eax, eax
je 0x476634
push dword [esp + 0x1c]
sub eax, edi
inc eax
mov dword [esp + 0x18], eax
dec eax
push eax
push edi
push dword [ebp + 0x14]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push eax
push esi
call fcn.004679d2
mov ecx, dword [eax]
add esp, 0x1c
push dword [ebp + 0x24]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x38]
push eax
push esi
call fcn.0045c508
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x14], eax
mov eax, dword [ecx]
add esp, 0x18
call dword [eax + 4]
push 1
mov byte [esp + 0x28], al
push dword [esp + 0x28]
lea eax, [esp + 0x30]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0045c508
mov ecx, dword [eax]
push dword [ebp + 0x28]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x50]
push eax
push esi
call fcn.0045c508
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x44]
add esp, 0x30
add edi, eax
sub dword [ebp + 0x30], eax
push dword [ebp + 0x30]
push 0x65
push edi
call fcn.0041db40
add esp, 0xc
test eax, eax
je 0x4766d8
push dword [esp + 0x1c]
sub eax, edi
inc eax
mov dword [esp + 0x28], eax
dec eax
push eax
push edi
push dword [ebp + 0x14]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push eax
push esi
call fcn.004679d2
mov ecx, dword [eax]
add esp, 0x1c
push dword [ebp + 0x2c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x38]
push eax
push esi
call fcn.0045c508
mov ecx, dword [eax]
and dword [ebp + 0x2c], 0
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
add esp, 0x18
test byte [ebx + 0x10], 4
mov dword [ebp + 0x14], ecx
mov ecx, 0x4a813c
jne 0x4766ae
mov ecx, 0x4a8140
push 1
push ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x38]
push eax
push esi
call fcn.0045c531
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
add edi, eax
sub dword [ebp + 0x30], eax
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push dword [ebp + 0x30]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.004679d2
mov ecx, dword [eax]
add esp, 0x1c
push dword [ebp + 0x2c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x38]
push eax
push esi
call fcn.0045c508
mov ecx, dword [eax]
push dword [esp + 0x28]
mov dword [ebp + 0x10], ecx
push dword [ebp + 0x1c]
mov eax, dword [eax + 4]
and dword [ebx + 0x18], 0
push eax
push ecx
push dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
push esi
call fcn.0045c508
add esp, 0x30
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 1
call fcn.0045d481
or dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.0045d481
mov ecx, dword [esp + 0x6c]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret