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

Disassembly:
sub esp, 0xcbc
push ebx
mov ebx, dword [esp + 0xcc4]
push ebp
push esi
mov eax, dword [ebx + 0x24]
mov esi, ecx
lea ecx, [ebx + 0x24]
push edi
test eax, eax
mov dword [esp + 0x30], ecx
jne case.0x424780.9
call fcn.0041a740
mov eax, dword [ebx + 0xc]
push 0x1fffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0x20000000
call fcn.00422010
mov ebp, eax
mov eax, dword [esp + 0x18]
add eax, 2
lea ecx, [ebp - 6]
mov dword [esp + 0x18], eax
cmp ecx, 0x1e
ja case.0x424780.9
xor edx, edx
mov dl, byte [ecx + 0x424af8]
jmp dword [edx*4 + 0x424ae8]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x198]
test eax, eax
je case.0x424780.9
lea ecx, [esp + 0x14]
push 0
mov dword [eax + 0x248], ecx
mov edx, dword [esi + 0x1c]
push ebx
mov eax, dword [edx + 0x198]
push eax
call fcn.004245c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcbc
ret 4
mov edi, dword [esp + 0x28]
cmp ebp, 0x23
jne 0x4247fc
mov ecx, dword [esp + 0x14]
xor edx, edx
lea esi, [eax + ecx]
add eax, 4
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dh, byte [esi + 3]
mov cl, byte [esi + 1]
mov dl, byte [esi + 2]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esi]
shl edx, 8
or edx, ecx
add edx, eax
mov dword [esp + 0x28], edx
lea edx, [esp + 0x14]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.004244c0
xor ecx, ecx
cmp ebp, 0x23
sete cl
push ecx
lea edx, [esp + 0x88]
push ebx
push edx
call fcn.004245c0
lea eax, [esp + 0x90]
push eax
call fcn.00437460
add esp, 0x18
cmp ebp, 0x23
mov dword [esp + 0x28], edi
jne case.0x424780.9
push 0x38
lea ecx, [esp + 0x48]
xor eax, eax
push str.1.0.4
push ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
call fcn.0043f3c0
add esp, 0xc
test eax, eax
jne 0x424927
mov edi, dword [ebx + 0x34]
mov dword [ebx + 0x40], 1
imul edi, dword [ebx + 0x30]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x18]
inc edx
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 0x14]
mov esi, dword [ebx]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x28]
sub edx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [esp + 0x4cc]
cmp edi, 0x800
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x800
jg 0x4248bc
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0043f3e0
mov ecx, dword [esp + 0x58]
mov ebp, eax
lea eax, [esp + 0x4d4]
add esp, 8
cmp ecx, eax
lea edx, [esp + 0x4cc]
jbe 0x424918
xor ecx, ecx
xor eax, eax
mov cl, byte [edx]
mov al, byte [esi]
inc edx
cmp eax, ecx
jle 0x4248f2
mov byte [esi], cl
xor eax, eax
mov al, byte [esi + 1]
cmp eax, ecx
jle 0x4248fe
mov byte [esi + 1], cl
xor eax, eax
mov al, byte [esi + 2]
cmp eax, ecx
jle 0x42490a
mov byte [esi + 2], cl
mov byte [esi + 3], cl
mov eax, dword [esp + 0x50]
add esi, 4
cmp eax, edx
ja 0x4248e3
test ebp, ebp
jne 0x424924
test edi, edi
jne 0x42489d
dec dword [ebx + 0x18]
lea ecx, [esp + 0x44]
jmp 0x424acf
xor ecx, ecx
inc eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x14]
mov dl, byte [eax + ecx - 1]
lea esi, [eax + ecx]
mov byte [esp + 0x10], dl
add eax, 2
xor edx, edx
mov dword [esp + 0x18], eax
mov dh, byte [esi + 1]
mov edi, dword [esp + 0x10]
mov dl, byte [esi]
lea esi, [eax + ecx]
mov dword [esp + 0x3c], edx
add eax, 2
xor edx, edx
mov dword [esp + 0x18], eax
mov dh, byte [esi + 1]
and edi, 0xff
mov dl, byte [esi]
mov dword [esp + 0x34], edx
xor edx, edx
cmp ebp, 0x24
sete dl
mov esi, edx
cmp edi, 3
mov dword [esp + 0x38], esi
jg 0x4249ab
mov cl, byte [eax + ecx]
inc eax
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
mov dword [esp + 0x18], eax
inc ebp
jmp 0x4249ad
xor ebp, ebp
push 0x38
lea edx, [esp + 0x48]
push str.1.0.4
push edx
call fcn.0043f3c0
add esp, 0xc
test eax, eax
jne 0x424acb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x28]
sub ecx, eax
cmp edi, 3
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
jg 0x424a59
test ebp, ebp
mov byte [esp + 0x13], 0xff
mov dword [esp + 0x7c], ebp
je 0x424a59
xor edx, edx
test esi, esi
setne dl
add edx, 3
lea esi, [esp + 0x81]
mov dword [esp + 0x40], edx
lea eax, [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x54], eax
jbe 0x424a34
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0043f3e0
mov eax, dword [esp + 0x5c]
add esp, 8
test eax, eax
ja 0x424a1d
mov dl, byte [esp + 0x10]
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov byte [esi + 1], dl
mov dl, byte [esp + 0x13]
mov byte [esi], al
mov byte [esi - 1], cl
mov byte [esi + 2], dl
add esi, 4
dec ebp
jne 0x424a09
mov esi, dword [esp + 0x38]
xor eax, eax
mov ebp, dword [esp + 0x34]
cmp edi, 3
mov edx, dword [esp + 0x3c]
setg al
dec eax
lea ecx, [esp + 0x7c]
and eax, ecx
push 1
push eax
push ebp
push edx
push edi
mov edi, dword [esp + 0x44]
mov ecx, edi
call fcn.0041a690
mov eax, dword [edi]
mov dword [ebx + 0x40], esi
test eax, eax
je 0x424acb
mov eax, dword [edi + 0x18]
inc eax
mov dword [edi + 0x18], eax
mov esi, dword [ebx + 0x38]
imul esi, ebp
mov eax, dword [edi]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0043f3e0
add esp, 8
test eax, eax
je 0x424aa1
mov edx, dword [ebx + 0x2c]
mov eax, dword [edi]
push edx
push esi
push eax
call fcn.0041a780
mov eax, dword [edi + 0x18]
add esp, 0xc
dec eax
mov dword [edi + 0x18], eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0043f260
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcbc
ret 4