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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x34], ecx
lea ebx, [eax + 0x6c]
mov dword [esp], ebx
call fcn.00569d40
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x38], eax
call fcn.00569e00
mov esi, eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
cmp eax, 0xffffffff
sete dl
test ecx, ecx
setne al
and al, dl
mov edi, eax
jne 0x501da0
mov ecx, dword [esp + 0xa8]
cmp dword [esp + 0xac], 0xffffffff
sete al
test ecx, ecx
je 0x501c2c
test al, al
jne 0x501cc8
xor edx, eax
mov eax, dword [esp + 0x48]
cmp ebx, dword [esp + 0x30]
jae 0x501d70
test dl, dl
je 0x501d70
test eax, eax
jne 0x501d7a
mov ebp, dword [esp + 0xbc]
lea edi, [ebx + 1]
add ebp, ebx
movzx edx, byte [ebp]
movzx eax, byte [esi + edx + 0x11d]
mov ecx, edx
test al, al
jne 0x501c87
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x4d20f0
jne 0x501e08
test cl, cl
je 0x501c8b
mov byte [esi + edx + 0x11d], cl
mov eax, ecx
cmp al, 0x25
je 0x501d00
mov eax, dword [esp + 0xa4]
movzx ebx, byte [ebp]
mov ecx, dword [esp + 0xa0]
cmp eax, 0xffffffff
jne 0x501caa
test ecx, ecx
jne 0x501ea0
cmp bl, al
je 0x501de0
or dword [esp + 0x48], 4
mov eax, dword [esp + 0xa4]
mov ebx, edi
jmp 0x501bf9
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jb 0x501c2e
mov eax, dword [ecx]
mov byte [esp + 0x3c], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
cmp eax, 0xffffffff
jne 0x501c2e
mov dword [esp + 0xa8], 0
xor edx, 1
jmp 0x501c2e
mov eax, dword [esp + 0xbc]
movzx ebp, byte [eax + edi]
movzx eax, byte [esi + ebp + 0x11d]
mov edx, ebp
test al, al
jne 0x501d3a
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x4d20f0
jne 0x502960
test dl, dl
je case.0x501d60.4
mov byte [esi + ebp + 0x11d], dl
mov eax, edx
mov dword [esp + 0x4c], 0
cmp al, 0x45
je 0x501e30
cmp al, 0x4f
je 0x501e30
sub eax, 0x41
cmp al, 0x38
ja case.0x501d60.4
movzx eax, al
jmp dword [eax*4 + 0x5e5cd4]
cmp ebx, dword [esp + 0x30]
jne 0x501d7a
test eax, eax
je 0x501d84
mov eax, dword [esp + 0xb4]
or dword [eax], 4
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov eax, dword [ecx + 0xc]
xor edx, edx
cmp dword [ecx + 8], eax
jb 0x501c0e
mov eax, dword [ecx]
mov byte [esp + 0x3c], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
cmp eax, 0xffffffff
jne 0x501c0e
mov dword [esp + 0xa0], 0
mov edx, edi
jmp 0x501c0e
call fcn.005331f0
mov ebx, edi
mov eax, 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
mov ecx, dword [esp + 0xa0]
jmp 0x501bf9
movsx ecx, dl
mov dword [esp + 0x3c], edx
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x3c]
jmp 0x501c7a
mov eax, dword [esp + 0xbc]
lea edi, [ebx + 2]
movzx ebx, byte [eax + ebx + 2]
movzx eax, byte [esi + ebx + 0x11d]
mov edx, ebx
test al, al
jne 0x501d52
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x4d20f0
jne 0x502980
test dl, dl
je case.0x501d60.4
mov eax, edx
mov byte [esi + ebx + 0x11d], dl
sub eax, 0x41
cmp al, 0x38
jbe 0x501d5d
lea esi, [esi]
or dword [esp + 0x48], 4
mov eax, dword [esp + 0xa4]
lea esi, [esi]
mov ecx, dword [esp + 0xa0]
lea ebx, [edi + 1]
jmp 0x501bf9
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x5029fc
movzx eax, byte [eax]
jmp 0x501caa
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00500ff0
sub esp, 0x28
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test ebx, ebx
jne 0x502100
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
lea ecx, [edx + 0x64]
lea eax, [edx - 0x76c]
test edx, edx
cmovs eax, ecx
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc0]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00501470
sub esp, 0x24
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test ebx, ebx
jne 0x502100
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00500ff0
sub esp, 0x28
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test ebp, ebp
je 0x5029e3
lea esi, [esi]
mov eax, dword [esp + 0xa4]
jmp 0x501e90
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x64]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x90]
jmp 0x501fdf
lea ecx, [esp + 0xa0]
call fcn.004d09f0
mov dword [esp + 4], 0
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.004d1ff0
sub esp, 8
cmp al, 9
jne case.0x501d60.4
mov ecx, dword [esp + 0xa0]
call fcn.005331f0
mov eax, 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
jmp 0x501e90
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00501ba0
sub esp, 0x20
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 0xa4]
jmp 0x501e90
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 7
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00501470
sub esp, 0x24
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test ebp, ebp
jne 0x502100
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
lea ebx, [esp + 0x50]
mov dword [esp + 4], 0x5e5cc3
mov ecx, esi
mov dword [esp + 8], ebx
mov dword [esp], 0x5e5cba
call fcn.004d1f10
sub esp, 0xc
mov dword [esp + 0x1c], ebx
jmp 0x5021d2
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00500ff0
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x502100
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 1
jmp 0x502364
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00500ff0
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x502100
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
lea ebx, [esp + 0x50]
mov dword [esp + 4], 0x5e5cc9
mov ecx, esi
mov dword [esp + 8], ebx
mov dword [esp], 0x5e5cc3
call fcn.004d1f10
sub esp, 0xc
mov dword [esp + 0x1c], ebx
jmp 0x5021d2
lea ebx, [esp + 0x50]
mov dword [esp + 4], 0x5e5cd2
mov ecx, esi
mov dword [esp + 8], ebx
mov dword [esp], 0x5e5cc9
call fcn.004d1f10
sub esp, 0xc
mov dword [esp + 0x1c], ebx
jmp 0x5021d2
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
jmp 0x5021ce
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00500ff0
sub esp, 0x28
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test ecx, ecx
jne 0x502100
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
lea ecx, [esp + 0xa0]
call fcn.004d09f0
mov edx, dword [esi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x50299c
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0xa
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00500ff0
sub esp, 0x28
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
test edx, edx
jne 0x501e90
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx + 0xc], edx
jmp 0x501e90
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00500ff0
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x502100
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
sub eax, 1
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
lea ecx, [esp + 0xa0]
call fcn.004d09f0
mov dword [esp + 4], 0
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.004d1ff0
sub esp, 8
cmp al, 0xa
jne case.0x501d60.4
jmp 0x5021a3
lea ecx, [esp + 0xa0]
call fcn.004d09f0
mov edx, dword [esi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x501d60.4
lea eax, [esp + 0x48]
lea ebx, [esp + 0x50]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], 0x59e880
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00501470
sub esp, 0x24
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 0xa4], edx
call fcn.004d0950
sub esp, 4
test al, al
jne 0x502100
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x50]
jne 0x502100
lea ecx, [esp + 0xa0]
call fcn.004d09f0
cmp byte [esi + 0x1c], 0
mov ebp, eax
je 0x502a29
movzx eax, byte [esi + 0x4a]
mov edx, ebp
cmp dl, al
je 0x502835
lea ecx, [esp + 0xa0]
call fcn.004d09f0
cmp byte [esi + 0x1c], 0
mov ebp, eax
je 0x502a3d
movzx eax, byte [esi + 0x48]
mov edx, ebp
cmp dl, al
jne 0x502100
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov ecx, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00500ff0
sub esp, 0x28
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], ecx
mov ecx, ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
call fcn.00500ff0
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
jmp 0x502100
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x60]
jmp 0x502275
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
jmp 0x5021ce
movsx edx, dl
mov dword [esp + 4], 0
mov ecx, esi
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x501d29
movsx edx, bl
mov dword [esp + 4], 0
mov ecx, esi
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x501e61
mov ecx, dword [esp + 0xa0]
call fcn.005331f0
lea eax, [esp + 0x48]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 1
jmp 0x5025ed
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb8]
mov dword [ebx], eax
mov eax, dword [esp + 0xa4]
jmp 0x501e90
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp eax, 0xffffffff
je 0x502a12
mov ecx, dword [esp + 0xa0]
jmp 0x501caa
mov dword [esp + 0xa0], 0
xor ecx, ecx
mov eax, 0xffffffff
jmp 0x501caa
mov dword [esp], 0x2d
mov ecx, esi
call fcn.004d1fa0
push ecx
jmp 0x502809
mov dword [esp], 0x2b
mov ecx, esi
call fcn.004d1fa0
push edx
jmp 0x50282b