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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xd0
mov esi, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x100001
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 0x4021
call fcn.0043e830
xor ebx, ebx
cmp eax, 0
jl 0x4227d2
mov dword [esp], esi
call fcn.00414a30
shl eax, 1
mov word [esp + 0xac], ax
movzx eax, ax
add eax, 2
mov word [esp + 0xae], ax
mov dword [esp + 0xb0], esi
mov dword [esp], 0x848
call fcn.0043af40
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0x80]
mov al, byte [esp + 0x88]
mov byte [esp + 0xa4], al
mov byte [esp + 0x4c], 0x1f
mov byte [esp + 0x4d], 0x1e
mov byte [esp + 0x4e], 0x1d
mov byte [esp + 0x4f], 0x1c
xor eax, eax
cmp eax, 4
jae 0x4220b3
movzx edx, byte [esp + eax + 0x4c]
mov ecx, eax
add ecx, 0x90f4a2e0
mov edi, ecx
and edi, edx
mov ebx, edi
and ebx, 2
xor ebx, 2
mov ebp, edi
and ebp, 0xfd
imul ebp, ebx
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
add edi, ebp
add ecx, edx
sub ecx, edi
mov byte [esp + eax + 0x4c], cl
add eax, 1
jmp 0x422070
mov edi, dword [esp + 0x4c]
xor ebp, ebp
mov ecx, 2
cmp ebp, dword [0x44a4e0]
jb 0x4220cb
jmp 0x422183
mov edx, dword [0x44a4e4]
cmp dword [edx + ebp*8], 0x7be1e2d2
sete bl
xor ecx, ecx
mov byte [esp + 0x3b], bl
test bl, 1
jne 0x4220eb
jmp 0x422172
mov edx, dword [edx + ebp*8 + 4]
mov ecx, 2
cmp edx, edi
je 0x422172
mov eax, dword [0x44a4e8]
xor ecx, ecx
lea ecx, [esp + 0xc8]
lea ebx, [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x848
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0
call fcn.0043c7c0
mov ecx, 1
test byte [esp + 0x3b], 1
je 0x42217b
jmp 0x422183
add ebp, 1
jmp 0x4220b9
cmp ecx, 2
je 0x42218a
mov edi, eax
xor ebx, ebx
cmp edi, 0
jl 0x4226e8
mov dword [esp + 0x60], 0
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x6c]
jmp 0x4221a7
mov edi, dword [eax + 0x3c]
shr edi, 1
mov ecx, eax
add ecx, 0x38
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x64], eax
mov eax, dword [eax + 0x38]
xor eax, 0xffffffff
or eax, 0xfffffbff
xor eax, 0xffffffff
and eax, 0xffffffff
cmp eax, 0
sete al
test al, 1
jne 0x4221dc
jmp 0x42239e
mov al, byte [esp + 0x7c]
mov byte [esp + 0x8c], al
mov byte [esp + 0x44], 0x3e
mov byte [esp + 0x45], 0x11
mov byte [esp + 0x46], 0x12
mov byte [esp + 0x47], 0x13
xor eax, eax
mov dword [esp + 0x54], ebx
cmp eax, 4
jae 0x422248
mov dl, byte [esp + eax + 0x44]
mov ebx, eax
add ebx, 0x90
mov ecx, 0xf
sub ecx, eax
and ecx, 0x10
and ebx, 0xef
or ecx, ebx
xor cl, dl
xor cl, 0x90
mov byte [esp + eax + 0x44], cl
mov ecx, eax
and ecx, 1
mov edx, eax
and edx, 2
mov ebx, eax
xor ebx, 1
add eax, ebx
mov ebx, dword [esp + 0x54]
sub eax, edx
add eax, ecx
jmp 0x422201
mov ebp, dword [esp + 0x64]
add ebp, 0x44
lea eax, [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.004227f0
cmp eax, 0
je 0x42239e
mov al, byte [esp + 0x78]
mov byte [esp + 0x90], al
mov byte [esp + 0x5a], 0x28
mov byte [esp + 0x5b], 0x47
mov byte [esp + 0x5c], 0x26
mov byte [esp + 0x5d], 0x49
mov byte [esp + 0x5e], 0x4a
mov byte [esp + 0x5f], 0x4b
mov dword [esp + 0x68], esi
xor eax, eax
jmp 0x42229d
cmp eax, 6
jae 0x4222e7
movzx edx, byte [esp + eax + 0x5a]
xor ecx, ecx
sub ecx, eax
mov ebx, ecx
shl ebx, 1
and ebx, 0xd9f414
xor ecx, 0x7f9305f5
add ecx, 1
sub ecx, ebx
mov ebx, edx
xor ebx, 0xffffffff
mov esi, ecx
or esi, ebx
mov ebx, edx
sub ebx, ecx
add esi, ebx
mov ebx, dword [esp + 0x54]
xor edx, 0xffffffff
or ecx, edx
and ecx, esi
mov dl, 0x4f
sub dl, cl
mov byte [esp + eax + 0x5a], dl
add eax, 1
jmp 0x42229d
lea eax, [esp + 0x5a]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.004227f0
cmp eax, 0
mov esi, dword [esp + 0x68]
jne 0x422309
jmp 0x42239e
mov eax, edi
add eax, 1
mov ecx, 2
mul ecx
seto dl
mov ecx, 0xffffffff
test dl, 1
jne 0x422324
mov ecx, eax
mov dword [esp], ecx
call fcn.004080f0
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edi, eax
call fcn.004146a0
mov word [eax], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0xc4]
mov edx, dword [eax]
and edx, 0x10
xor eax, eax
cmp edx, 0
setne al
mov edx, dword [esp + 0xf0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], edi
and eax, 1
mov dword [esp + 4], eax
call dword [esp + 0xec]
and al, 1
movzx eax, al
and bl, 1
movzx ecx, bl
or ecx, eax
cmp ecx, 0
setne bl
and bl, 1
mov dword [esp], edi
call fcn.00408100
jmp 0x42239e
cmp esi, 0
je 0x4223a9
mov edi, dword [esp + 0x60]
jmp 0x4223d0
mov dword [esp], 0x10900
call fcn.0043af40
mov edi, eax
cmp edi, 0
jne 0x4223cc
xor esi, esi
mov eax, 2
mov edi, dword [esp + 0x64]
jmp 0x4226da
mov esi, edi
jmp 0x4223d0
cmp edi, esi
jne 0x4226c1
mov dword [esp + 0x54], ebx
mov al, byte [esp + 0x74]
mov byte [esp + 0x94], al
mov byte [esp + 0x40], 0x54
mov byte [esp + 0x41], 0x5c
mov byte [esp + 0x42], 0x57
mov byte [esp + 0x43], 0x57
xor eax, eax
mov dword [esp + 0x68], esi
cmp eax, 4
jae 0x422490
movzx ecx, byte [esp + eax + 0x40]
mov edx, eax
add edx, 0x74b036f4
mov esi, eax
add esi, 0x74b036f4
or edx, esi
mov esi, edx
xor esi, 0xffffffff
shl esi, 1
add esi, edx
mov edx, 0xfffffffe
sub edx, esi
mov esi, ecx
xor esi, 0xffffffff
shl esi, 1
add esi, ecx
mov ebx, 0xfffffffe
sub ebx, esi
and edx, ebx
xor ecx, 0xffffffff
mov esi, 0x8b4fc90b
sub esi, eax
and esi, ecx
mov ebx, edx
xor ebx, 0xffffffff
mov ecx, esi
and ecx, ebx
mov ebx, esi
xor ebx, edx
add esi, ebx
xor esi, 0xffffffff
add ecx, esi
add ecx, 0x32353d6b
mov edx, ecx
shl edx, 1
and edx, 0xea
xor ecx, 0xf5
add ecx, edx
mov byte [esp + eax + 0x40], cl
mov ecx, eax
shl ecx, 1
and ecx, 2
xor eax, 1
add eax, ecx
jmp 0x422401
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xbc], eax
mov al, byte [esp + 0x84]
mov byte [esp + 0xa8], al
mov byte [esp + 0x48], 0x1f
mov byte [esp + 0x49], 0x1e
mov byte [esp + 0x4a], 0x1d
mov byte [esp + 0x4b], 0x1c
xor eax, eax
cmp eax, 4
jae 0x422510
movzx edx, byte [esp + eax + 0x48]
mov ecx, eax
add ecx, 0x90f4a2e0
mov esi, ecx
and esi, edx
mov ebx, esi
and ebx, 2
xor ebx, 2
mov ebp, esi
and ebp, 0xfd
imul ebp, ebx
mov ebx, esi
and ebx, 2
or esi, 2
imul esi, ebx
add esi, ebp
add ecx, edx
sub ecx, esi
mov byte [esp + eax + 0x48], cl
add eax, 1
jmp 0x4224cd
mov esi, dword [esp + 0x48]
xor ebp, ebp
mov ebx, dword [esp + 0x54]
mov ecx, 2
cmp ebp, dword [0x44a4e0]
jb 0x42252c
jmp 0x422605
mov eax, edi
mov edi, esi
mov esi, dword [0x44a4e4]
cmp dword [esi + ebp*8], 0x7be1e2d2
sete dl
xor ecx, ecx
mov byte [esp + 0x3a], dl
test dl, 1
jne 0x422554
mov esi, edi
mov edi, eax
jmp 0x4225f4
mov edx, dword [esi + ebp*8 + 4]
mov ecx, 2
mov esi, edi
cmp edx, esi
mov edi, eax
je 0x4225f4
mov eax, dword [0x44a4e8]
xor ecx, ecx
lea ecx, [esp + 0xc8]
lea ebx, [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x34], 0
call fcn.0043c7c0
mov dword [esp + 0xb4], eax
mov ecx, 1
test byte [esp + 0x3a], 1
je 0x4225fd
jmp 0x422605
add ebp, 1
jmp 0x42251a
cmp ecx, 2
je 0x422611
mov esi, dword [esp + 0xb4]
mov al, byte [esp + 0x70]
mov byte [esp + 0x98], al
mov byte [esp + 0x3c], 0xd0
mov byte [esp + 0x3d], 0xd6
mov byte [esp + 0x3e], 0xd7
mov byte [esp + 0x3f], 0x28
xor eax, eax
cmp eax, 4
jae 0x42264e
mov cl, byte [esp + eax + 0x3c]
mov dl, al
add dl, 0x3d
xor dl, cl
add dl, 0x18
mov byte [esp + eax + 0x3c], dl
add eax, 1
jmp 0x422632
cmp esi, dword [esp + 0x3c]
sete al
test al, 1
jne 0x42265b
jmp 0x42268f
xor eax, eax
mov edx, edi
jmp 0x422661
mov ecx, edx
mov esi, dword [ecx]
cmp esi, 0
je 0x422678
shr esi, 2
shl esi, 2
mov edx, ecx
add edx, esi
mov eax, ecx
jmp 0x422661
cmp eax, 0
setne cl
test cl, 1
jne 0x422685
jmp 0x42268b
mov dword [eax], 0
xor esi, esi
jmp 0x42268f
cmp esi, 0
setge al
test al, 1
mov esi, dword [esp + 0x68]
jne 0x4226ae
jmp 0x42269f
mov dword [esp], esi
call fcn.0043af70
mov eax, 2
jmp 0x4226b2
xor eax, eax
jmp 0x4226b2
cmp eax, 0
je 0x4226c1
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x64]
jmp 0x4226da
mov eax, dword [edi]
cmp eax, 0
je 0x4226d2
mov ecx, edi
add ecx, eax
mov dword [esp + 0x60], ecx
jmp 0x4226d8
mov dword [esp + 0x60], esi
jmp 0x4226d8
xor eax, eax
test eax, eax
mov eax, edi
je 0x4221a7
jmp 0x4226e6
jmp 0x4226e8
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0043af70
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb8], eax
mov al, byte [esp + 0x9c]
mov byte [esp + 0xa0], al
mov byte [esp + 0x50], 0x1f
mov byte [esp + 0x51], 0x1e
mov byte [esp + 0x52], 0x1d
mov byte [esp + 0x53], 0x1c
xor eax, eax
cmp eax, 4
jae 0x42276d
movzx edx, byte [esp + eax + 0x50]
mov ecx, eax
add ecx, 0x90f4a2e0
mov edi, ecx
and edi, edx
mov esi, ebx
mov ebx, edi
and ebx, 2
xor ebx, 2
mov ebp, edi
and ebp, 0xfd
imul ebp, ebx
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
mov ebx, esi
add edi, ebp
add ecx, edx
sub ecx, edi
mov byte [esp + eax + 0x50], cl
add eax, 1
jmp 0x422726
mov edi, dword [esp + 0x50]
xor ebp, ebp
cmp ebp, dword [0x44a4e0]
jb 0x42277d
jmp 0x4227d2
mov esi, ebx
mov eax, dword [0x44a4e4]
cmp dword [eax + ebp*8], 0xb430e561
sete bl
test bl, 1
jne 0x422795
jmp 0x4227c2
mov eax, dword [eax + ebp*8 + 4]
cmp eax, edi
je 0x4227c2
mov ecx, dword [0x44a4e8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], eax
call fcn.0043c7c0
test bl, 1
je 0x4227cb
mov ebx, esi
jmp 0x4227d2
add ebp, 1
mov ebx, esi
jmp 0x422773
and bl, 1
movzx eax, bl
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret