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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea esi, [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov ecx, esi
push 1
push 0x4f9a8a
push dword [ebp + 8]
call fcn.004178a0
add esp, 0xc
cmp dword [esi], 0
je 0x429ae2
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov esi, edx
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 8], edx
not esi
mov dword [esp + 0x44], esi
mov ecx, eax
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], eax
sub ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
add ecx, esi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov esi, ecx
mov dword [esp + 0x20], ecx
cmovb esi, eax
cmp ebx, 0xffffffff
mov ebx, ecx
cmove esi, eax
cmove ebx, edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
dec esi
mov ebx, edi
mov dword [esp + 0x24], esi
mov edi, ebx
sub edi, edx
cmp edi, dword [esp + 4]
jae 0x429bfb
mov eax, dword [esp + 0x18]
mov cl, byte [eax + edi]
xor eax, eax
xor esi, esi
inc esi
shld eax, esi, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
and eax, dword [esp + 0x48]
and esi, dword [esp + 0x4c]
or esi, eax
je 0x429a75
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], edi
lea edx, [eax + ebx]
add ebx, ecx
mov ecx, esi
sub ecx, 1
jb 0x429a11
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 8]
jae 0x429c0b
lea edi, [edx + esi]
cmp edi, dword [esp + 4]
jae 0x429c16
mov eax, dword [esp + 0x1c]
mov al, byte [eax + esi - 1]
cmp al, byte [ebx + esi]
mov esi, ecx
je 0x4299c5
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
add ebx, ecx
sub ebx, eax
cmp dword [esp + 0xc], 0xffffffff
je 0x42996d
jmp 0x429a90
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 8]
add ecx, eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x54]
jae 0x429a9d
cmp eax, edx
jae 0x429c23
cmp ecx, dword [esp + 4]
jae 0x429c33
mov bl, byte [edi]
mov esi, dword [esp + 0x18]
inc edi
inc eax
cmp bl, byte [esi + ecx]
mov ebx, dword [esp + 0x10]
lea ecx, [ecx + 1]
je 0x429a27
sub ebx, dword [esp + 0x28]
cmp dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x14]
je 0x42996d
mov edi, ebx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0xc]
jmp 0x429948
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp ebx, 0xffffffff
cmovne ecx, edx
jmp 0x429948
mov edi, ebx
mov ebx, dword [esp + 0xc]
mov ecx, edx
jmp 0x429948
mov edx, dword [esp + 0x3c]
inc edx
mov ecx, dword [esp + 0x38]
mov eax, edx
mov edx, dword [ebp + 8]
push 0x4b8bf0
push eax
call fcn.004291e2
pop ecx
pop ecx
mov ecx, eax
mov esi, eax
mov edi, edx
call fcn.00418ce0
xor ecx, ecx
test al, 1
jne 0x429bfd
mov ecx, dword [esp + 0x2c]
shr eax, 0x10
mov dword [ecx + 4], edi
mov word [ecx + 8], ax
mov ecx, esi
jmp 0x429bfd
mov al, byte [esp + 0x66]
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x60]
xor esi, esi
dec esi
mov byte [esp + 8], al
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x65]
cmp byte [esp + 8], 0
jne 0x429bfb
mov byte [esp + 4], al
xor al, 1
mov edi, edx
mov ecx, edx
mov edx, ebx
mov byte [esp + 0x65], al
push dword [esp + 0x1c]
call fcn.00429217
pop ecx
test eax, eax
je 0x429c44
test edx, edx
je 0x429bee
mov cl, byte [eax + edx - 1]
test cl, cl
js 0x429b4f
movzx eax, cl
mov edx, edi
jmp 0x429baf
movzx ebx, byte [eax + edx - 2]
cmp bl, 0xc0
jge 0x429b81
mov dword [esp + 0x18], ebx
movzx ebx, byte [eax + edx - 3]
cmp bl, 0xc0
mov dword [esp + 0x10], ebx
jge 0x429b88
movzx eax, byte [eax + edx - 4]
mov esi, dword [esp + 0x10]
and eax, 7
and esi, 0x3f
shl eax, 6
or esi, eax
jmp 0x429b8f
and ebx, 0x1f
mov edx, edi
jmp 0x429ba0
mov esi, dword [esp + 0x10]
and esi, 0xf
mov ebx, dword [esp + 0x18]
shl esi, 6
mov edx, edi
and ebx, 0x3f
or ebx, esi
xor esi, esi
dec esi
and cl, 0x3f
shl ebx, 6
movzx eax, cl
or eax, ebx
mov ebx, dword [esp + 0x24]
cmp byte [esp + 4], 0
jne 0x429aa1
cmp eax, 0x110000
je 0x429bfb
cmp eax, 0x80
mov ecx, esi
jb 0x429be1
cmp eax, 0x800
push 0xfffffffffffffffe
pop ecx
jb 0x429be1
xor ecx, ecx
cmp eax, 0x10000
setb cl
or ecx, 0xfffffffc
add edx, ecx
mov al, 1
mov dword [esp + 0x60], edx
jmp 0x429b0b
cmp byte [esp + 4], 0
mov edx, edi
jne 0x429aa1
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 8]
push 0x4b8514
jmp 0x429c3c
mov edx, dword [esp + 4]
mov ecx, edi
push 0x4b8524
jmp 0x429c3c
mov ecx, dword [esp + 0x14]
cmp ecx, edx
cmovbe ecx, edx
push 0x4b84f4
jmp 0x429c3c
mov edx, dword [esp + 4]
push 0x4b8504
call fcn.004a5260
pop eax
ud2
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x4b8630
push edi
push 0
call fcn.004a5830
add esp, 0xc
ud2