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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x10065024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x34]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x38]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
xor eax, eax
push edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x3d], al
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x58], eax
call fcn.1003d04b
mov edi, eax
movsx eax, word [esi + 0x2a]
push 0x14
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test byte [esi + 0x24], 0x20
jne 0x100306cb
and dword [ebp - 0x44], 0
mov dword [ebp - 0x64], 1
jmp 0x100306dc
push esi
call fcn.1003d04b
mov dword [ebp - 0x44], eax
pop ecx
movzx eax, word [eax + 0x32]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x34], 0
push 2
pop ecx
mov dword [ebp - 0x3c], ecx
jle 0x10030831
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
inc ecx
mov eax, dword [ebp + 0x1c]
not eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
add ecx, eax
movsx eax, word [esi + 0x28]
cmp ecx, eax
je 0x10030807
cmp dword [ebp - 0x4c], 0
je 0x10030726
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jl 0x1003080a
mov ecx, dword [esi + 4]
movzx eax, byte [ecx + edx + 0xc]
test eax, eax
je 0x10030807
cmp byte [ebp + 0x28], 0xb
je 0x10030742
movzx eax, byte [ebp + 0x28]
jmp 0x10030749
cmp eax, 0xb
cmove eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
cmp eax, 5
jne 0x1003075f
cmp dword [ecx + edx + 4], 0
push 2
pop ecx
cmove eax, ecx
mov dword [ebp - 0x24], eax
sub eax, 1
je 0x100307c3
sub eax, 1
je 0x100307b5
sub eax, 1
je 0x100307c3
sub eax, 1
je 0x100307a2
push dword [ebp - 0x2c]
push 0x33
push edi
call fcn.1003d04b
mov ecx, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x2c]
mov eax, dword [eax + 4]
push dword [eax + ecx + 4]
push ebx
call fcn.1003d04b
push esi
push edi
call fcn.1003d04b
add esp, 0x20
jmp 0x10030801
push dword [ebp + 0x2c]
push dword [ebp - 0x2c]
push 0x32
push edi
call fcn.1003d04b
add esp, 0x10
jmp 0x10030804
cmp dword [ebx + 0x78], 0
mov eax, ebx
cmovne eax, dword [ebx + 0x78]
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
push dword [eax + edx]
push dword [esi]
push str._s._s
push dword [ebp - 0x58]
call fcn.1003d04b
push dword [ebp - 0x2c]
mov esi, eax
push dword [ebp - 0x24]
push 0x513
push 0x41
push edi
call fcn.1003d04b
push 0xfffffffffffffff9
push esi
push edi
call fcn.1003d04b
push 1
push edi
call fcn.1003d04b
add esp, 0x38
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x28], eax
add edx, 0x10
mov eax, dword [ebp - 0x30]
inc ecx
add eax, ecx
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
jl 0x10030706
push 2
pop ecx
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x10030953
mov eax, dword [ebp - 0x58]
test dword [eax + 0x1c], 0x200
jne 0x10030953
mov eax, dword [ebp + 0x1c]
cmp byte [ebp + 0x28], 0xb
not eax
mov dword [ebx + 0x38], eax
movzx eax, byte [ebp + 0x28]
cmovne ecx, eax
and dword [ebp - 0x30], 0
cmp dword [edx], 0
mov dword [ebp - 0x20], ecx
jle 0x1003094f
lea eax, [edx + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x4c], 0
mov eax, dword [eax - 4]
mov dword [ebp - 0x34], eax
je 0x100308d1
push 0x1c
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x4c]
xor al, al
mov dword [ebp - 0x78], ecx
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x8c], 0x10010ea0
test ecx, ecx
je 0x100308c5
push ecx
lea eax, [ebp - 0x90]
push eax
call fcn.1003d04b
mov al, byte [ebp - 0x7c]
pop ecx
pop ecx
cmp byte [ebp + 0x24], 0
jne 0x100308cd
and al, 0xfd
test al, al
je 0x10030934
push edi
call fcn.1003d04b
push 0x10
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push ebx
call fcn.1003d04b
mov eax, dword [ebp - 0x20]
add esp, 0x14
cmp eax, 4
jne 0x100308fe
push dword [ebp + 0x2c]
push edi
call fcn.1003d04b
pop ecx
pop ecx
jmp 0x10030929
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10030909
mov ecx, dword [esi]
push 2
pop edx
push 3
push 0
cmp eax, 5
push ecx
cmove eax, edx
push eax
push 0x113
push ebx
mov dword [ebp - 0x20], eax
call fcn.1003d04b
add esp, 0x18
push dword [ebp - 0x3c]
push edi
call fcn.1003d04b
pop ecx
pop ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, dword [ebp - 0x24]
add eax, 0x18
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], eax
cmp edx, dword [ecx]
jl 0x10030878
and dword [ebx + 0x38], 0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1003098a
cmp dword [eax], 0
jne 0x10030969
and dword [ebp - 0x54], 0
mov byte [ebp + 0x28], 4
jmp 0x1003098a
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1003098a
push edi
call fcn.1003d04b
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.1003d04b
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp byte [ebp + 0x24], 0
je 0x10030b61
cmp dword [ebp - 0x44], 0
jne 0x10030b61
push edi
call fcn.1003d04b
mov dl, byte [ebp + 0x28]
movzx esi, byte [esi + 0x30]
mov dword [ebp - 0x20], eax
pop ecx
cmp dl, 0xb
je 0x100309b9
movzx esi, dl
jmp 0x100309c2
push 2
cmp esi, 0xb
pop ecx
cmove esi, ecx
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x100309dd
cmp dword [ecx + 0x10], 0
jne 0x100309dd
cmp dword [ecx + 8], 0
jne 0x100309da
push 4
pop esi
jmp 0x10030a07
push 6
pop esi
cmp esi, 5
jb 0x10030a07
test ecx, ecx
jne 0x100309ed
movzx eax, dl
cmp esi, eax
je 0x10030a04
mov eax, dword [ebp - 0x38]
cmp dword [eax + 8], 0
je 0x10030a04
push 0xd
push edi
call fcn.1003d04b
pop ecx
inc eax
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x10030a2b
push ecx
push eax
push dword [ebp + 0x1c]
push 0x35
pop eax
push eax
push edi
call fcn.1003d04b
push 0x90
push edi
call fcn.1003d04b
add esp, 0x1c
push dword [ebp + 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 0x14]
push 0x20
push edi
call fcn.1003d04b
add esp, 0x14
test esi, esi
je 0x10030b22
cmp esi, 3
jbe 0x10030b27
cmp esi, 4
je 0x10030a77
cmp esi, 5
je 0x10030a87
cmp esi, 6
jne 0x10030b22
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x54]
push ebx
call fcn.1003d04b
add esp, 0x14
push dword [ebp + 0x2c]
push edi
call fcn.1003d04b
pop ecx
pop ecx
jmp 0x10030b34
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x5c], ecx
test dword [eax + 0x1c], 0x2000
je 0x10030ab2
push ecx
push ecx
push 0x6e
push esi
push ebx
call fcn.1003d04b
add esp, 0x14
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x10030aeb
xor ecx, ecx
push ecx
push ecx
push esi
push ebx
call fcn.1003d04b
add esp, 0x10
test eax, eax
jne 0x10030aeb
cmp dword [esi + 8], eax
je 0x10030b19
cmp dword [ebx + 0x78], 0
mov eax, ebx
push 0xffffffffffffffff
cmovne eax, dword [ebx + 0x78]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov byte [eax + 0x14], 1
push esi
push ebx
call fcn.1003d04b
add esp, 0x18
jmp 0x10030b19
cmp dword [ebx + 0x78], 0
mov eax, ebx
push 0xffffffffffffffff
cmovne eax, dword [ebx + 0x78]
push 1
push 5
push 0
push 1
push dword [ebp + 0x1c]
mov byte [eax + 0x14], 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 0x5c]
push esi
push ebx
call fcn.1003d04b
add esp, 0x2c
mov dword [ebp - 0x5c], 1
jmp 0x10030b37
push 2
pop eax
mov esi, eax
push dword [ebp - 0x38]
push esi
push ebx
call fcn.1003d04b
add esp, 0xc
mov esi, dword [ebp - 0x38]
push dword [ebp - 0x20]
push edi
call fcn.1003d04b
cmp dword [ebp - 0x18], 0
pop ecx
pop ecx
je 0x10030b61
push 0xd
push edi
call fcn.1003d04b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
dec eax
push eax
push edi
call fcn.1003d04b
add esp, 0x10
mov eax, dword [esi + 8]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10031083
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
cmp dword [edx + ecx*4], 0
je 0x10031071
cmp dword [ebp - 0x60], eax
jne 0x10030ba7
mov eax, dword [ebp - 0xc]
push 0
push edi
mov dword [ebp - 0x28], eax
call fcn.1003d04b
push dword [ebp - 0x10]
mov dword [ebp - 0x6c], eax
push edi
call fcn.1003d04b
add esp, 0x10
jmp 0x10030bb1
push edi
call fcn.1003d04b
pop ecx
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0x3d], 0
jne 0x10030bca
mov ecx, dword [ebp + 0x1c]
inc ecx
push ecx
push esi
push edi
call fcn.1003d04b
add esp, 0xc
mov byte [ebp - 0x3d], 1
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov eax, dword [ebp - 0x48]
add ecx, eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x24], edx
je 0x10030c15
mov ecx, dword [ebp - 0x50]
push edx
push dword [ecx + eax*4]
push edx
push 0x46
push edi
call fcn.1003d04b
mov eax, dword [ebp + 0x1c]
not eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x1c]
push 0x10
push dword [ebp - 0x28]
push dword [eax + 0x24]
push ebx
call fcn.1003d04b
mov ecx, dword [ebp - 0x1c]
add esp, 0x24
and dword [ebx + 0x38], 0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
and dword [ebp - 0x34], 0
mov edx, dword [edx + eax*4]
lea eax, [edx + 1]
mov dword [ebp - 0x20], eax
movzx eax, word [ecx + 0x34]
mov esi, eax
mov dword [ebp - 0x3c], esi
xor esi, esi
cmp si, ax
mov esi, dword [ebp - 0x38]
jae 0x10030ccb
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x34]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x10030c79
mov eax, dword [ebp + 0x1c]
push dword [ebp - 0x24]
not eax
mov dword [ebx + 0x38], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [ebp - 0x30]
push dword [eax + ecx + 4]
push ebx
call fcn.1003d04b
add esp, 0xc
and dword [ebx + 0x38], 0
jmp 0x10030ca8
cmp edx, 0xffffffff
je 0x10030c8e
movsx eax, word [esi + 0x28]
cmp edx, eax
je 0x10030c8e
mov eax, dword [ebp + 0x1c]
inc eax
add eax, edx
jmp 0x10030c91
mov eax, dword [ebp + 0x1c]
push dword [ebp - 0x24]
sar edx, 0x1f
and edx, 1
push eax
add edx, 0x4c
push edx
push edi
call fcn.1003d04b
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
inc dword [ebp - 0x34]
add dword [ebp - 0x30], 0x18
inc dword [ebp - 0x24]
movzx edx, word [ecx + 0x34]
cmp dword [ebp - 0x34], edx
jl 0x10030c46
mov ecx, dword [ebp - 0x48]
mov eax, edx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + ecx*4]
jmp 0x10030cce
mov eax, dword [ebp - 0x3c]
push edx
movzx eax, ax
push eax
push dword [ebp - 0x20]
push 0x65
push edi
call fcn.1003d04b
mov eax, dword [ebp - 0x1c]
add esp, 0x14
cmp dword [ebp + 0x20], 0
je 0x10030d05
cmp dword [ebp - 0x44], eax
jne 0x10030d05
cmp byte [ebp + 0x24], 0
jne 0x10030d05
push dword [ebp - 0x28]
push edi
call fcn.1003d04b
pop ecx
pop ecx
jmp 0x10031068
movzx ecx, byte [eax + 0x36]
test ecx, ecx
je 0x10030cf5
mov dl, byte [ebp + 0x28]
cmp dl, 0xb
je 0x10030d1a
movzx ecx, dl
jmp 0x10030d23
push 2
cmp ecx, 0xb
pop edx
cmove ecx, edx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x60], eax
jne 0x10030d42
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 8], 0
jne 0x10030d3c
push 4
pop ecx
mov dword [ebp - 0x2c], ecx
jmp 0x10030d59
push 6
pop ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 5
jne 0x10030d59
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.1003d04b
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], 0
jne 0x10030db4
cmp dword [eax + 0x14], 0
jne 0x10030db4
cmp dword [ebp - 0x44], eax
jne 0x10030db4
cmp ecx, 5
jne 0x10030db4
mov eax, dword [ebp - 0x58]
test dword [eax + 0x1c], 0x2000
je 0x10030d92
push 0
push 0
push 0x6e
push esi
push ebx
call fcn.1003d04b
add esp, 0x14
test eax, eax
jne 0x10030db4
mov eax, dword [ebp - 0x58]
test dword [eax + 0x1c], 0x4000
je 0x10030cf5
cmp dword [esi + 0x10], 0
jne 0x10030db4
push esi
call fcn.1003d04b
pop ecx
test eax, eax
je 0x10030cf5
mov eax, dword [ebp - 0x1c]
inc dword [ebx + 0x3c]
movzx eax, word [eax + 0x32]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x4c]
push 0x1c
push edi
call fcn.1003d04b
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov edx, dword [ebp - 0x44]
cmp eax, edx
jne 0x10030de2
mov ecx, dword [ebp - 0x20]
jmp 0x10030df5
push dword [ebp - 0x64]
push ebx
call fcn.1003d04b
mov edx, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 0x20], 0
mov dword [ebp - 0x30], ecx
jne 0x10030e08
cmp dword [ebp - 0x2c], 5
jne 0x10030f68
test byte [esi + 0x24], 0x20
jne 0x10030e4f
push ecx
push dword [ebp - 0x4c]
push 0x84
push edi
call fcn.1003d04b
mov eax, dword [ebp + 0x20]
add esp, 0x10
test eax, eax
je 0x10030f68
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push 0x35
pop eax
push eax
push edi
call fcn.1003d04b
push 0x90
push edi
call fcn.1003d04b
add esp, 0x1c
jmp 0x10030f68
cmp eax, edx
je 0x10030ea0
and dword [ebp - 0x3c], 0
xor ecx, ecx
cmp cx, word [edx + 0x32]
jae 0x10030ea0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
movzx eax, word [eax + ebx*2]
push eax
push esi
call fcn.1003d04b
movsx ecx, ax
mov eax, dword [ebp - 0x30]
add eax, ebx
push eax
push ecx
push dword [ebp - 0x4c]
push 0x62
push edi
call fcn.1003d04b
mov edx, dword [ebp - 0x44]
add esp, 0x1c
inc ebx
movzx eax, word [edx + 0x32]
cmp ebx, eax
jl 0x10030e65
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 0x20], 0
je 0x10030f68
movzx ecx, word [edx + 0x32]
mov edx, dword [edi + 0x88]
mov eax, dword [eax + 0x38]
add edx, ecx
and al, 3
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x30]
cmp al, 2
mov dword [ebp - 0x34], 0x34
cmove edx, dword [ebp - 0x20]
mov dword [ebp - 0x70], edx
xor edx, edx
mov dword [ebp - 0x24], edx
test ecx, ecx
je 0x10030f68
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
push dword [eax + edx*4]
push ebx
call fcn.1003d04b
mov ebx, dword [ebp - 0x44]
mov edx, eax
mov eax, dword [ebp - 0x24]
push 0x35
mov ecx, dword [ebx + 4]
movsx esi, word [ecx + eax*2]
movzx ecx, word [ebx + 0x32]
mov ebx, dword [ebp - 0x34]
dec ecx
cmp eax, ecx
mov dword [ebp - 0x34], ebx
mov eax, ebx
pop ebx
cmove eax, ebx
cmp dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
cmovne eax, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x24]
push 0xfffffffffffffffe
push edx
push eax
mov eax, dword [ebp + 0x20]
push ecx
inc eax
mov dword [ebp - 0x3c], ecx
add eax, esi
push eax
push dword [ebp - 0x34]
push edi
call fcn.1003d04b
push 0x90
push edi
call fcn.1003d04b
mov eax, dword [ebp - 0x44]
add esp, 0x2c
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x68]
inc edx
mov dword [ebp - 0x24], edx
movzx eax, word [eax + 0x32]
cmp edx, eax
jl 0x10030ede
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10030fb4
cmp eax, 3
jbe 0x10030fa2
cmp eax, 4
je 0x10030f92
cmp eax, 6
jne 0x10030fb4
push dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x54]
push ebx
call fcn.1003d04b
add esp, 0x14
push dword [ebp + 0x2c]
push edi
call fcn.1003d04b
pop ecx
pop ecx
jmp 0x1003102e
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
push ebx
call fcn.1003d04b
add esp, 0xc
jmp 0x1003102e
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
test dword [eax + 0x1c], 0x2000
je 0x10030fdc
push ecx
push ecx
push 0x6e
push esi
push ebx
call fcn.1003d04b
add esp, 0x14
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x10030fec
xor ecx, ecx
push ecx
push ecx
push esi
push ebx
call fcn.1003d04b
add esp, 0x10
test eax, eax
je 0x10030ffa
cmp dword [ebx + 0x78], 0
mov eax, ebx
cmovne eax, dword [ebx + 0x78]
mov byte [eax + 0x14], 1
push dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x44]
sete al
movzx eax, al
push eax
push 5
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x30]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 0x3c]
push esi
push ebx
call fcn.1003d04b
add esp, 0x2c
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x1c]
jne 0x10031041
push dword [ebp - 0x6c]
push edi
call fcn.1003d04b
jmp 0x1003104a
push dword [ebp - 0x28]
push edi
call fcn.1003d04b
pop ecx
pop ecx
push ebx
call fcn.1003d04b
mov eax, dword [ebp - 0x30]
pop ecx
cmp eax, dword [ebp - 0x20]
je 0x10031068
push dword [ebp - 0x64]
push eax
push ebx
call fcn.1003d04b
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x10030b79
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.1003d04b
mov eax, dword [ebp - 0x5c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x74]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100574a0
leave
ret