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

Disassembly:
push 0xffffffffffffffff
push 0x470530
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x49a7f0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49a7f0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
lea edi, [esp + 0x2c]
mov dword [esp + 0x20], eax
call fcn.0042f740
push eax
mov dword [esp + 0x68], 0
call fcn.0042e1a0
mov ebx, eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
mov dword [esp + 0x28], ebx
je 0x42d5ed
push 0
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.0046e238
mov eax, dword [edi + 4]
test eax, eax
jbe 0x42d5cb
cmp eax, 0xffffffff
jae 0x42d5cb
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.0046e259
test esi, esi
je 0x42d5ed
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea esi, [esp + 0x3c]
mov ecx, ebx
call fcn.0042de50
mov ecx, 1
mov dword [esp + 0x64], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x42d62f
cmp al, 0x2d
je 0x42d62f
cmp al, 0x30
jne 0x42d625
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x42d61b
cmp al, 0x58
jne 0x42d625
mov dword [esp + 0x18], 2
jmp 0x42d633
mov dword [esp + 0x18], 0
jmp 0x42d633
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
mov edx, dword [esp + 0x40]
mov eax, edx
jae 0x42d646
lea eax, [esp + 0x40]
cmp byte [eax], 0x7f
je 0x42d6ed
cmp ecx, 0x10
mov eax, edx
jae 0x42d65a
lea eax, [esp + 0x40]
cmp byte [eax], 0
jle 0x42d6ed
cmp ecx, 0x10
jb 0x42d66e
mov dword [esp + 0x1c], edx
jmp 0x42d676
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
mov al, byte [edx]
cmp al, 0x7f
mov edi, dword [esp + 0x8c]
mov esi, edi
je 0x42d6da
test al, al
jle 0x42d6d3
mov ecx, esi
sub ecx, dword [esp + 0x18]
movsx eax, al
cmp eax, ecx
jae 0x42d6d3
sub esi, eax
mov edx, edi
sub edx, esi
lea eax, [edx + 1]
push eax
lea ebx, [esi + ebp]
push ebx
push eax
lea eax, [esi + ebp + 1]
push eax
call fcn.004513f6
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov byte [ebx], 0
add edi, 1
cmp byte [eax + 1], 0
jle 0x42d6cd
add eax, 1
mov dword [esp + 0x1c], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x42d689
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x42d6f6
cmp esi, edi
jbe 0x42d6f6
sub esi, edi
jmp 0x42d6f8
mov edi, dword [esp + 0x8c]
jmp 0x42d6da
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x42d7e1
cmp eax, 0x100
je 0x42d75e
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x84]
push esi
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], edx
lea ebx, [esp + 0x40]
mov dword [eax + 8], ecx
call fcn.0042d920
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov edi, dword [esp + 0x9c]
add esp, 0x10
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
xor esi, esi
jmp 0x42d7e5
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push ebx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
mov ecx, ebp
call fcn.0042dcc0
mov edx, dword [eax]
add esp, 0x14
push esi
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub edi, ebx
add ebp, ebx
mov dword [esp + 0x9c], edi
mov edi, dword [esp + 0x94]
mov dword [ecx + 4], edx
lea ebx, [esp + 0x40]
mov dword [ecx + 8], eax
call fcn.0042d920
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov edi, dword [esp + 0x9c]
add esp, 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
xor esi, esi
jmp 0x42d7e5
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
movzx eax, ax
push eax
push edi
push ebp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
lea eax, [esp + 0x48]
push eax
push ecx
call fcn.0042dd80
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x90]
add esp, 0x20
push esi
sub esp, 0xc
mov dword [ecx + 0x18], 0
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x94]
mov dword [ecx + 8], eax
call fcn.0042d920
add esp, 0x10
cmp dword [esp + 0x54], 0x10
jb 0x42d868
mov edx, dword [esp + 0x40]
push edx
call fcn.00433c26
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004507b7
add esp, 0x54
ret