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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b0
push esi
push edi
mov esi, ecx
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x50], esi
mov dl, 0x5a
mov ecx, 0x100a1264
mov eax, dword [esi + 0x1c]
push 0xd
mov dword [esp + 0x30], eax
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x2c]
call fcn.10058fc0
mov edi, dword [esi + 0x10]
mov dword [esp + 0x24], eax
call fcn.1000a100
push dword [esp + 0x24]
mov edx, edi
mov dword [esp + 0x18], eax
call fcn.1004ad00
mov dword [esp + 0xc], eax
test eax, eax
je 0x1005afbc
xor ecx, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], ecx
test eax, eax
je 0x1005a38f
mov esi, edi
push 0xf
call fcn.10061c92
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
push 0
push 0xf
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x148
lea eax, [esp + 0x74]
push 0
push eax
call fcn.10063ea0
add esp, 0xc
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
mov edx, edi
xor ecx, ecx
push eax
push 1
lea eax, [esp + 0x78]
push eax
push 1
push 0xf
call fcn.1004cfa0
mov al, byte [edi]
add esp, 0x14
mov byte [esp + 0x1f], al
push edi
call fcn.10061814
mov eax, dword [esp + 0x110]
add esp, 4
mov dword [esp + 8], eax
mov al, byte [esp + 0x1f]
cmp al, 0xe8
je 0x1005a353
cmp al, 0xe9
je 0x1005a353
cmp al, 0xff
jne 0x1005a371
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
inc eax
push eax
push esi
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.100137a0
cmp al, 0x15
je 0x1005a332
push dword [esp + 0x18]
mov ecx, edi
push esi
call fcn.100137a0
cmp al, 0x25
jne 0x1005a371
mov eax, dword [esp + 0x44]
mov ecx, edi
add eax, 2
push eax
push esi
call fcn.10013770
push eax
push esi
mov ecx, edi
call fcn.10013770
mov ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x1005a375
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc ecx
add eax, ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.10004540
mov ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x1005a375
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 8]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0xc]
jb 0x1005a281
mov esi, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x1005afbc
mov ecx, dword [esi + 0x18]
push fcn.1001e230
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e780
mov dword [esp + 0x10], eax
call fcn.1002be20
mov dword [esp + 0x10], eax
lea edi, [esp + 0x14]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1005b3d0
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov ecx, dword [esi + 0x18]
push fcn.1001e230
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e230
mov dword [esp + 0x10], eax
call fcn.1002be20
mov dword [esp + 0x10], eax
lea edi, [esp + 0x14]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1005b3d0
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a1274
push 0xa
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
call fcn.1000a100
push 0
push 0xe8
push edi
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1004b890
test eax, eax
je 0x1005a48b
mov ecx, dword [esp + 8]
inc eax
push eax
push edi
call fcn.10004540
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1005a501
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a1284
push 0xa
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
call fcn.1000a100
push 0
push 0xe8
push edi
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1004b890
test eax, eax
je 0x1005a4f5
mov ecx, dword [esp + 8]
inc eax
push eax
push edi
call fcn.10004540
mov dword [esp + 0x30], eax
test eax, eax
je 0x1005afbc
mov ecx, dword [esi + 0x18]
push fcn.1001e4b0
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e4e0
mov dword [esp + 0x10], eax
call fcn.1002be20
mov dword [esp + 0x10], eax
lea edi, [esp + 0x14]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1005b3d0
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov ecx, dword [esi + 0x18]
sub esp, 0x18
mov eax, dword [esp + 0x48]
mov edi, esp
mov dl, 0x5a
mov dword [ecx + 0x3d3], eax
mov ecx, 0x100a1294
mov eax, dword [esi + 0x1c]
push 0xc
mov dword [esp + 0x28], eax
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov dword [esp + 0x14], eax
test eax, eax
je 0x1005a784
mov ecx, dword [esi + 0x18]
xor edi, edi
mov edx, dword [ecx + 0x1d660]
mov ecx, dword [ecx + 0x1d664]
sub ecx, edx
sar ecx, 2
test ecx, ecx
je 0x1005a784
nop dword [eax]
mov eax, dword [edx]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp esi, dword [eax]
mov esi, dword [esp + 0x38]
jb 0x1005a5cf
mov esi, dword [esp + 0x14]
cmp esi, dword [eax + 4]
mov esi, dword [esp + 0x38]
jb 0x1005a5dc
inc edi
add edx, 4
cmp edi, ecx
jb 0x1005a5b0
jmp 0x1005a784
mov ecx, dword [eax + 0x18]
xor edx, edx
mov eax, dword [eax + 0x1c]
xor edi, edi
sub eax, ecx
mov dword [esp + 0x34], edx
sar eax, 2
mov dword [esp + 0x24], edi
test eax, eax
je 0x1005a784
nop dword [eax + eax]
mov eax, dword [ecx + edi*4]
mov dword [esp + 0xc], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x1d660]
mov eax, dword [eax + 0x1d664]
sub eax, ecx
sar eax, 2
mov dword [esp + 8], eax
test eax, eax
je 0x1005a768
mov eax, dword [esp + 0xc]
mov edi, dword [ecx]
mov edx, dword [esp + 0x14]
cmp edx, dword [edi]
jb 0x1005a649
cmp edx, dword [edi + 4]
mov edx, dword [esp + 0x34]
jb 0x1005a658
inc eax
add ecx, 4
cmp eax, dword [esp + 8]
jb 0x1005a636
jmp 0x1005a764
mov eax, dword [edi + 0x1c]
xor ecx, ecx
sub eax, dword [edi + 0x18]
sar eax, 2
mov dword [esp + 0x20], ecx
test eax, eax
je 0x1005a764
nop
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
cmp eax, dword [esp + 0x30]
jne 0x1005a74e
mov ecx, dword [esi + 0x18]
inc edx
mov dword [esp + 0x34], edx
cmp edx, 1
jne 0x1005a6ca
push fcn.1001e550
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e580
mov dword [esp + 0x48], eax
call fcn.1002be20
mov dword [esp + 0x48], eax
mov ecx, esi
push edi
lea eax, [esp + 0x64]
push eax
call fcn.1005b3d0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x48]
jmp 0x1005a73b
cmp edx, 2
jne 0x1005a706
push fcn.1001e5e0
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e610
mov dword [esp + 0x5c], eax
call fcn.1002be20
mov dword [esp + 0x5c], eax
mov ecx, esi
push edi
lea eax, [esp + 0x6c]
push eax
call fcn.1005b3d0
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x5c]
jmp 0x1005a73b
push fcn.1001e4b0
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e4e0
mov dword [esp + 0x2c], eax
call fcn.1002be20
mov dword [esp + 0x2c], eax
mov ecx, esi
push edi
lea eax, [esp + 0x54]
push eax
call fcn.1005b3d0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [edi + 0x1c]
inc ecx
sub eax, dword [edi + 0x18]
sar eax, 2
mov dword [esp + 0x20], ecx
cmp ecx, eax
jb 0x1005a670
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x24], edi
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1005a600
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a12a4
push 0xb
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov dword [esp + 0x14], eax
test eax, eax
je 0x1005a917
mov eax, dword [esi + 0x18]
xor edx, edx
mov edi, dword [eax + 0x1d664]
mov ecx, dword [eax + 0x1d660]
sub edi, ecx
sar edi, 2
test edi, edi
je 0x1005a917
nop dword [eax]
mov eax, dword [ecx + edx*4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], eax
cmp esi, dword [eax]
mov esi, dword [esp + 0x38]
jb 0x1005a800
mov esi, dword [esp + 0x14]
cmp esi, dword [eax + 4]
mov esi, dword [esp + 0x38]
jb 0x1005a80a
inc edx
cmp edx, edi
jb 0x1005a7e0
jmp 0x1005a917
cmp dword [eax + 8], 0x50
jbe 0x1005a917
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
sub eax, edx
sar eax, 2
cmp eax, 2
jb 0x1005a917
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov edx, dword [ecx + eax*4]
mov esi, dword [esp + 0x14]
cmp esi, dword [edx]
mov esi, dword [esp + 0x38]
jb 0x1005a850
mov esi, dword [esp + 0x14]
cmp esi, dword [edx + 4]
mov esi, dword [esp + 0x38]
jb 0x1005a85a
inc eax
cmp eax, edi
jb 0x1005a834
jmp 0x1005a917
mov eax, dword [edx + 0x1c]
sub eax, dword [edx + 0x18]
sar eax, 2
cmp eax, 2
jb 0x1005a917
mov dword [esp + 0x14], 0
mov eax, dword [ecx]
mov esi, dword [esp + 0x30]
cmp esi, dword [eax]
mov esi, dword [esp + 0x38]
jb 0x1005a88f
mov esi, dword [esp + 0x30]
cmp esi, dword [eax + 4]
mov esi, dword [esp + 0x38]
jb 0x1005a8a4
mov eax, dword [esp + 0x14]
add ecx, 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x1005a874
jmp 0x1005a917
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
sub eax, edi
sar eax, 2
cmp eax, 2
jb 0x1005a917
mov eax, dword [edx + 0x18]
mov edx, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 4]
jne 0x1005a917
mov ecx, dword [esi + 0x18]
push fcn.1001e4b0
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e4e0
mov dword [esp + 0x2c], eax
call fcn.1002be20
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x30]
mov eax, dword [esp + 0xc]
mov ecx, esi
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
add eax, 4
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1005b3d0
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a12b4
push 0xc
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
call fcn.1000a100
push 0
push 0xe8
push edi
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1004b890
test eax, eax
je 0x1005a979
mov ecx, dword [esp + 8]
inc eax
push eax
push edi
call fcn.10004540
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1005aa61
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a12c4
push 5
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
call fcn.1000a100
push 0
push 0xe8
push edi
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1004b890
test eax, eax
je 0x1005a9e7
mov ecx, dword [esp + 8]
inc eax
push eax
push edi
call fcn.10004540
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1005aa61
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a12cc
push 0xb
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
call fcn.1000a100
push 0
push 0xe8
push edi
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1004b890
test eax, eax
je 0x1005aa55
mov ecx, dword [esp + 8]
inc eax
push eax
push edi
call fcn.10004540
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1005afbc
mov ecx, dword [esi + 0x18]
push fcn.1001e4b0
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e4e0
mov dword [esp + 0x2c], eax
call fcn.1002be20
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x30]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1005b3d0
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x3de], eax
mov dword [esp + 0x40], 0
call fcn.1000a100
push dword [esp + 0x30]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x24], eax
call fcn.1004ad00
mov dword [esp + 0x18], eax
test eax, eax
je 0x1005abe6
xor edi, edi
mov dword [esp + 0x24], edi
test eax, eax
je 0x1005abe6
nop dword [eax]
mov eax, dword [esp + 0x30]
add eax, edi
mov edi, dword [esi + 0x10]
push 0xf
mov dword [esp + 0x10], eax
call fcn.10061c92
add esp, 4
mov dword [esp + 8], eax
push 0
push 0xf
push eax
push dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x148
lea eax, [esp + 0x74]
push 0
push eax
call fcn.10063ea0
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
add esp, 0xc
mov dword [esp + 0xc], 0
mov edx, edi
xor ecx, ecx
push eax
push 1
lea eax, [esp + 0x78]
push eax
push 1
push 0xf
call fcn.1004cfa0
mov al, byte [edi]
add esp, 0x14
mov byte [esp + 0x1f], al
push edi
call fcn.10061814
mov al, byte [esp + 0x23]
add esp, 4
cmp al, 0xe8
je 0x1005abca
mov edi, dword [esp + 0x24]
cmp al, 0xff
jne 0x1005ab8e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
inc eax
add eax, edi
push eax
push dword [esi + 0x10]
call fcn.100137a0
cmp al, 0x15
je 0x1005aba5
add edi, dword [esp + 0x10c]
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x18]
jb 0x1005aaf0
jmp 0x1005abe6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add eax, 2
add eax, edi
push eax
push dword [esi + 0x10]
call fcn.10013770
mov ecx, dword [esp + 0x20]
push eax
push dword [esi + 0x10]
call fcn.10013770
jmp 0x1005abe2
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
inc ecx
add eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esi + 0x10]
call fcn.10004540
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
je 0x1005afbc
mov ecx, dword [esi + 0x18]
push fcn.1001e6b0
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e700
mov dword [esp + 0x2c], eax
call fcn.1002be20
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x30]
lea eax, [esp + 0x40]
mov ecx, esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1005b3d0
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a12dc
push 9
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
test eax, eax
je 0x1005ad1b
mov ecx, dword [esi + 0x18]
push fcn.1001e4b0
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e4e0
mov dword [esp + 0x2c], eax
call fcn.1002be20
sub esp, 0x18
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x1c]
mov edi, esp
mov dl, 0x5a
mov dword [esp + 0x24], eax
mov ecx, 0x100a12dc
push 9
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
call fcn.1000a100
push 0
push 0xe8
push edi
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1004b890
test eax, eax
je 0x1005acf2
mov ecx, dword [esp + 8]
inc eax
push eax
push edi
call fcn.10004540
mov dword [esp + 0x18], eax
lea edi, [esp + 0x30]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1005b5c0
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a12e8
push 0xb
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
test eax, eax
je 0x1005ae04
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a12e8
push 0xb
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
call fcn.1000a100
push 0
push 0xe8
push edi
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
call fcn.1004b890
test eax, eax
je 0x1005adb3
mov ecx, dword [esp + 8]
inc eax
push eax
push edi
call fcn.10004540
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x30]
je 0x1005ae04
mov ecx, dword [esi + 0x18]
push fcn.1001e550
call fcn.1002be20
mov ecx, dword [esi + 0x18]
push fcn.1001e550
mov dword [esp + 0x2c], eax
call fcn.1002be20
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x30]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1005b3d0
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.1005b020
call fcn.1000a100
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x5a
mov ecx, 0x100a1300
push 0xf
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
sub esp, 0x18
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
mov edi, esp
mov dword [esp + 0x30], eax
mov dl, 0x5a
mov eax, dword [esi + 0x1c]
mov ecx, 0x100a1300
push 0xf
mov dword [esp + 0x28], eax
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
push 0
push 0xe8
push dword [esp + 0x10]
mov edi, eax
push dword [esp + 0x24]
call fcn.1004b890
sub eax, edi
sub esp, 0x18
mov dword [esp + 0x20], eax
mov edi, esp
mov eax, dword [esi + 0x1c]
mov dl, 0x5a
mov ecx, 0x100a1300
mov dword [esp + 0x24], eax
push 0xf
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
push 0x100a12f8
push 0x100a12fc
push dword [esp + 0x10]
push eax
push dword [esi + 0x10]
call fcn.10052290
test eax, eax
jne 0x1005aedc
mov dword [esi + 0x14], 1
call fcn.1000a100
mov eax, dword [esi + 0x1c]
sub esp, 0x18
mov edi, esp
mov dword [esp + 0x24], eax
mov dl, 0x43
mov ecx, 0x100a1318
push 9
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
sub esp, 0x18
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
mov edi, esp
mov dword [esp + 0x30], eax
mov dl, 0x43
mov eax, dword [esi + 0x1c]
mov ecx, 0x100a1318
push 9
mov dword [esp + 0x28], eax
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
push 0
push 0xe8
push dword [esp + 0x10]
mov edi, eax
push dword [esp + 0x24]
call fcn.1004b890
sub eax, edi
sub esp, 0x18
mov dword [esp + 0x20], eax
mov edi, esp
mov eax, dword [esi + 0x1c]
mov dl, 0x43
mov ecx, 0x100a1318
mov dword [esp + 0x24], eax
push 9
call fcn.1005ef80
add esp, 4
mov ecx, edi
push eax
call fcn.1000b5b0
mov ecx, dword [esp + 0x24]
call fcn.10058fc0
push 0x100a12f8
push 0x100a1314
push dword [esp + 0x10]
push eax
push dword [esi + 0x10]
call fcn.10052290
test eax, eax
je 0x1005afb4
mov dword [esi + 0x14], 1
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret