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

Disassembly:
sub esp, 0x88
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
mov edx, ecx
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
mov ebx, dword [edx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 4]
push esi
mov dword [esp + 0x34], ebp
mov ebp, dword [ebp*4 + 0x56d230]
mov dword [esp + 0x18], eax
mov eax, dword [ecx*4 + 0x56d230]
push edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], ebp
cmp edi, ecx
jae 0x421cb2
lea esp, [esp]
mov ebp, dword [edx]
mov ecx, dword [ebp + 0xa078]
lea ebx, [ebp + 0x904c]
cmp ecx, dword [ebx + 0x1030]
jae 0x421bab
mov eax, dword [ebx + 0x1028]
movzx edx, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [ebx + 0x102c], eax
jmp 0x421bcd
mov eax, dword [ebx]
lea ecx, [esp + 0x22]
push 1
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
cmp eax, 1
jne 0x421bd8
movzx edx, byte [esp + 0x22]
cmp edx, 0xffffffff
jne 0x421c8f
jmp 0x421bdb
or edx, 0xffffffff
cmp byte [ebp + 0xa088], 0
jne 0x421c8f
mov eax, dword [ebp + 4]
xor ecx, ecx
add eax, 0xd552
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 0x541b9c
mov dword [esp + 0x50], 0x541b9c
mov dword [esp + 0x54], 0x541b9c
mov dword [esp + 0x58], 0x541b9c
mov dword [esp + 0x5c], 0x541b9c
mov dword [esp + 0x60], 0x541b9c
mov dword [esp + 0x64], 0x541b9c
mov dword [esp + 0x90], 0x38
mov dword [esp + 0x48], eax
mov dword [esp + 0x88], 1
call fcn.0049f740
push 3
mov ecx, 0x5b77e4
call fcn.0046e7a0
xor edx, edx
mov byte [ebp + 0xa088], 1
mov ebx, dword [esp + 0x10]
mov ecx, edi
shl edx, cl
add edi, 8
or ebx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
cmp edi, dword [esp + 0x2c]
jb 0x421b80
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
and eax, ebx
lea edx, [ecx + eax*8]
movzx eax, byte [edx]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
cmp eax, 0x10
jbe 0x421e49
nop
cmp eax, 0x63
je 0x42237e
movzx ecx, byte [edx + 1]
sub eax, 0x10
shr ebx, cl
sub edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
cmp edi, eax
jae 0x421e26
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov ecx, dword [ebp + 0xa078]
lea ebx, [ebp + 0x904c]
cmp ecx, dword [ebx + 0x1030]
jae 0x421d21
mov eax, dword [ebx + 0x1028]
movzx eax, byte [eax + ecx]
inc ecx
mov dword [ebx + 0x102c], ecx
jmp 0x421d43
mov eax, dword [ebx]
lea ecx, [esp + 0x23]
push 1
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
cmp eax, 1
jne 0x421d4e
movzx eax, byte [esp + 0x23]
cmp eax, 0xffffffff
jne 0x421e05
jmp 0x421d51
or eax, 0xffffffff
cmp byte [ebp + 0xa088], 0
jne 0x421e05
mov eax, dword [ebp + 4]
xor ecx, ecx
add eax, 0xd552
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 0x541b9c
mov dword [esp + 0x50], 0x541b9c
mov dword [esp + 0x54], 0x541b9c
mov dword [esp + 0x58], 0x541b9c
mov dword [esp + 0x5c], 0x541b9c
mov dword [esp + 0x60], 0x541b9c
mov dword [esp + 0x64], 0x541b9c
mov dword [esp + 0x90], 0x38
mov dword [esp + 0x48], eax
mov dword [esp + 0x88], 1
call fcn.0049f740
push 3
mov ecx, 0x5b77e4
call fcn.0046e7a0
xor eax, eax
mov byte [ebp + 0xa088], 1
mov ebx, dword [esp + 0x10]
mov ecx, edi
shl eax, cl
add edi, 8
or ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
cmp edi, eax
jb 0x421cf4
mov edx, dword [esp + 0x28]
mov ecx, dword [eax*4 + 0x56d230]
mov eax, dword [edx + 4]
and ecx, ebx
lea edx, [eax + ecx*8]
movzx eax, byte [edx]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
cmp eax, 0x10
ja 0x421cd0
movzx ecx, byte [edx + 1]
shr ebx, cl
sub edi, ecx
mov dword [esp + 0x10], ebx
cmp eax, 0x10
jne 0x421ec3
mov al, byte [edx + 4]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov byte [edx + ebp + 0x10], al
inc ebp
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ebp
cmp ebp, 0x8000
jne 0x421b71
push 0x8000
mov ecx, edx
call fcn.00421200
mov dword [esp + 0x1c], 0
call fcn.004a0b50
test al, al
jne 0x422396
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp byte [eax + 0xa088], 0
jne 0x422396
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
jmp 0x421b71
cmp eax, 0xf
je 0x422385
cmp edi, eax
jae 0x421f7e
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov ecx, dword [ebp + 0xa078]
lea ebx, [ebp + 0x904c]
cmp ecx, dword [ebx + 0x1030]
jae 0x421f03
mov eax, dword [ebx + 0x1028]
movzx edx, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [ebx + 0x102c], eax
jmp 0x421f25
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push 1
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
cmp eax, 1
jne 0x421f2c
movzx edx, byte [esp + 0x24]
cmp edx, 0xffffffff
jne 0x421f5d
jmp 0x421f2f
or edx, 0xffffffff
cmp byte [ebp + 0xa088], 0
jne 0x421f5d
mov eax, dword [ebp + 4]
add eax, 0xd552
push eax
push 0x38
call fcn.00415840
push 3
mov ecx, 0x5b77e4
call fcn.0046e7a0
xor edx, edx
mov byte [ebp + 0xa088], 1
mov ebx, dword [esp + 0x10]
mov ecx, edi
mov eax, dword [esp + 0x18]
add edi, 8
shl edx, cl
or ebx, edx
mov dword [esp + 0x10], ebx
cmp edi, eax
jb 0x421ed4
mov edx, dword [esp + 0x28]
mov ecx, dword [eax*4 + 0x56d230]
sub edi, eax
and ecx, ebx
add ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov ecx, eax
shr ebx, cl
mov dword [esp + 0x10], ebx
cmp edi, dword [esp + 0x38]
jae 0x422046
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov ecx, dword [ebp + 0xa078]
lea ebx, [ebp + 0x904c]
cmp ecx, dword [ebx + 0x1030]
jae 0x421fd1
mov eax, dword [ebx + 0x1028]
movzx edx, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [ebx + 0x102c], eax
jmp 0x421ff3
mov eax, dword [ebx]
lea ecx, [esp + 0x25]
push 1
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
cmp eax, 1
jne 0x421ffa
movzx edx, byte [esp + 0x25]
cmp edx, 0xffffffff
jne 0x42202b
jmp 0x421ffd
or edx, 0xffffffff
cmp byte [ebp + 0xa088], 0
jne 0x42202b
mov eax, dword [ebp + 4]
add eax, 0xd552
push eax
push 0x38
call fcn.00415840
push 3
mov ecx, 0x5b77e4
call fcn.0046e7a0
xor edx, edx
mov byte [ebp + 0xa088], 1
mov ebx, dword [esp + 0x10]
mov ecx, edi
shl edx, cl
add edi, 8
or ebx, edx
mov dword [esp + 0x10], ebx
cmp edi, dword [esp + 0x38]
jb 0x421fa2
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
and eax, ebx
movzx edx, byte [ecx + eax*8]
lea eax, [ecx + eax*8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
cmp edx, 0x10
jbe 0x4221ec
jmp 0x422070
cmp edx, 0x63
je 0x42237e
movzx ecx, byte [eax + 1]
sub edx, 0x10
shr ebx, cl
sub edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edx
cmp edi, edx
jae 0x4221c8
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov ecx, dword [ebp + 0xa078]
lea ebx, [ebp + 0x904c]
cmp ecx, dword [ebx + 0x1030]
jae 0x4220c3
mov eax, dword [ebx + 0x1028]
movzx edx, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [ebx + 0x102c], eax
jmp 0x4220e5
mov eax, dword [ebx]
lea ecx, [esp + 0x26]
push 1
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
cmp eax, 1
jne 0x4220f0
movzx edx, byte [esp + 0x26]
cmp edx, 0xffffffff
jne 0x4221a7
jmp 0x4220f3
or edx, 0xffffffff
cmp byte [ebp + 0xa088], 0
jne 0x4221a7
mov eax, dword [ebp + 4]
xor ecx, ecx
add eax, 0xd552
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 0x541b9c
mov dword [esp + 0x50], 0x541b9c
mov dword [esp + 0x54], 0x541b9c
mov dword [esp + 0x58], 0x541b9c
mov dword [esp + 0x5c], 0x541b9c
mov dword [esp + 0x60], 0x541b9c
mov dword [esp + 0x64], 0x541b9c
mov dword [esp + 0x90], 0x38
mov dword [esp + 0x48], eax
mov dword [esp + 0x88], 1
call fcn.0049f740
push 3
mov ecx, 0x5b77e4
call fcn.0046e7a0
xor edx, edx
mov byte [ebp + 0xa088], 1
mov ebx, dword [esp + 0x10]
mov ecx, edi
shl edx, cl
add edi, 8
or ebx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
cmp edi, edx
jb 0x422094
mov eax, dword [esp + 0x28]
mov ecx, dword [edx*4 + 0x56d230]
mov eax, dword [eax + 4]
and ecx, ebx
movzx edx, byte [eax + ecx*8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
cmp edx, 0x10
ja 0x422070
movzx ecx, byte [eax + 1]
shr ebx, cl
sub edi, ecx
mov dword [esp + 0x10], ebx
cmp edi, edx
jae 0x4222a6
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov ecx, dword [ebp + 0xa078]
lea ebx, [ebp + 0x904c]
cmp ecx, dword [ebx + 0x1030]
jae 0x42222f
mov eax, dword [ebx + 0x1028]
movzx edx, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [ebx + 0x102c], eax
jmp 0x422251
mov eax, dword [ebx]
lea ecx, [esp + 0x27]
push 1
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
cmp eax, 1
jne 0x422258
movzx edx, byte [esp + 0x27]
cmp edx, 0xffffffff
jne 0x422289
jmp 0x42225b
or edx, 0xffffffff
cmp byte [ebp + 0xa088], 0
jne 0x422289
mov eax, dword [ebp + 4]
add eax, 0xd552
push eax
push 0x38
call fcn.00415840
push 3
mov ecx, 0x5b77e4
call fcn.0046e7a0
xor edx, edx
mov byte [ebp + 0xa088], 1
mov ebx, dword [esp + 0x10]
mov ecx, edi
shl edx, cl
add edi, 8
or ebx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
cmp edi, edx
jb 0x422200
mov eax, dword [edx*4 + 0x56d230]
mov ecx, edx
mov ebp, dword [esp + 0x1c]
and eax, ebx
mov esi, ebp
shr ebx, cl
sub esi, eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x28]
sub esi, dword [eax + 4]
sub edi, edx
mov edx, dword [esp + 0x14]
lea esp, [esp]
and esi, 0x7fff
mov eax, esi
cmp esi, ebp
ja 0x4222de
mov eax, ebp
mov ebx, 0x8000
sub ebx, eax
mov eax, dword [esp + 0x34]
cmp ebx, eax
jbe 0x4222ef
mov ebx, eax
sub eax, ebx
mov dword [esp + 0x34], eax
mov eax, ebp
sub eax, esi
cmp eax, ebx
jb 0x422320
lea eax, [esi + 0x10]
add eax, edx
push ebx
push eax
lea eax, [edx + 0x10]
add eax, ebp
push eax
call fcn.0051ff80
mov edx, dword [esp + 0x20]
add esp, 0xc
add ebp, ebx
add esi, ebx
jmp 0x42232f
mov al, byte [edx + esi + 0x10]
inc esi
mov byte [edx + ebp + 0x10], al
inc ebp
sub ebx, 1
jne 0x422320
mov dword [esp + 0x1c], ebp
cmp ebp, 0x8000
jne 0x422361
push ebp
mov ecx, edx
call fcn.00421200
xor ebp, ebp
mov dword [esp + 0x1c], ebp
call fcn.004a0b50
test al, al
jne 0x422396
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp byte [eax + 0xa088], 0
jne 0x422396
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4222d0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
jmp 0x421b71
mov eax, 1
jmp 0x422398
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x88
ret 0x10