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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, eax
mov ebx, dword [esi + 0x4c]
push edi
mov edi, dword [esi]
add ebx, 0x28
cmp dword [esi + 0x44], 0xbdf20da3
mov dword [ebp - 0xc], edi
mov dword [esi + 0x78], ebx
je 0x1003365e
mov eax, 0x15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x48]
mov eax, ebx
call fcn.10033580
cmp dword [esi + 0x64], 7
jne 0x1003367d
mov eax, 1
mov byte [edi + 0x1e], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x60]
lea edx, [eax + 1]
mov dword [esi + 0x60], edx
cmp eax, ecx
jge 0x100336a3
cmp byte [esi + 0x7c], 2
jne 0x1003369f
mov edi, dword [esi + 0x14]
lea edx, [eax + eax*4]
cmp byte [edi + edx*4], 0x73
jne 0x10033680
cmp eax, ecx
jl 0x100336b8
mov ebx, 0x65
mov dword [esi + 0x64], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xd8]
test edx, edx
je 0x100336fb
mov dword [esi + 0x64], 9
mov eax, dword [str.interrupted]
mov ebx, 1
test eax, eax
jne 0x100336df
mov eax, str.unknown_error
push eax
push 0x1009d28c
add esi, 0x74
mov eax, ecx
call fcn.1001b7d0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x7c], 1
mov edx, dword [esi + 0x14]
lea ecx, [eax + eax*4]
lea edi, [edx + ecx*4]
mov dword [ebp - 0xc], edi
jne 0x10033747
cdq
mov dword [ebx + 4], edx
mov byte [ebx + 0x1e], 1
mov dword [ebx], eax
mov ecx, 4
mov word [ebx + 0x1c], cx
mov edx, 0xa02
mov word [ebx + 0x44], dx
movzx eax, byte [edi]
mov ecx, dword [eax*4 + 0x10099988]
mov dword [ebx + 0x3c], ecx
call fcn.1001d5a0
mov dword [ebx + 0x40], eax
mov word [ebx + 0x46], 0x103
add ebx, 0x50
mov ecx, 4
mov word [ebx + 0x1c], cx
mov eax, dword [edi + 4]
cdq
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov byte [ebx + 0x1e], 1
mov edx, ecx
mov word [ebx + 0x44], dx
mov eax, dword [edi + 8]
cdq
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
mov byte [ebx + 0x46], 1
add ebx, 0x50
cmp byte [esi + 0x7c], 1
jne 0x10033790
mov eax, ecx
mov word [ebx + 0x1c], ax
mov eax, dword [edi + 0xc]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebx + 0x1e], 1
add ebx, 0x28
xor eax, eax
lea ecx, [eax + 0x20]
call fcn.10031440
test eax, eax
je 0x100337aa
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, 0x602
mov word [ebx + 0x1c], cx
call fcn.100332c0
mov ecx, dword [ebx + 0x14]
mov edi, eax
cmp edi, ecx
je 0x1003387b
test edi, edi
jne 0x100337f9
test byte [ebx + 0x1c], 0x20
je 0x100337dc
mov edi, dword [ebx]
call fcn.10021750
mov dx, word [ebx + 0x1c]
mov eax, 0xbf01
and dx, ax
or dx, 1
mov word [ebx + 0x1c], dx
mov byte [ebx + 0x1e], 5
jmp 0x10033887
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10033808
mov ecx, dword [eax + 0x50]
mov dword [ebp - 8], ecx
jmp 0x10033812
mov dword [ebp - 8], 0x3b9aca00
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
js 0x1003382e
jmp 0x10033820
cmp byte [eax + edi], 0
je 0x1003382b
inc eax
cmp eax, ecx
jle 0x10033820
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x10], 0x202
push ebx
cmp ecx, fcn.1001b3e0
jne 0x1003384d
call fcn.10031840
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x24], edi
jmp 0x10033857
call fcn.10031840
mov eax, 0xa02
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x14], edi
cmp ecx, dword [ebp - 8]
jg 0x10033887
mov dword [ebx + 0x18], ecx
mov word [ebx + 0x1c], ax
mov word [ebx + 0x1e], 0x103
jmp 0x10033887
call fcn.1001d5a0
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1f], 1
mov byte [ebx + 0x1e], 3
add ebx, 0x28
cmp byte [esi + 0x7c], 1
jne 0x100338e4
xor eax, eax
lea ecx, [eax + 4]
call fcn.10031440
test eax, eax
jne 0x1003379e
mov eax, dword [ebp - 0xc]
mov edx, 0x602
mov word [ebx + 0x1c], dx
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x18], 2
movzx ecx, byte [eax + 3]
push ecx
push str._.2x
push edx
push 3
call fcn.1001cb90
mov word [ebx + 0x1e], 0x103
mov eax, 1
add esp, 0x10
mov word [ebx + 0x44], ax
mov byte [ebx + 0x46], 5
movzx eax, byte [esi + 0x7c]
lea ecx, [eax + eax*4]
mov edx, 0xd
sub edx, ecx
pop edi
mov ebx, 0x64
mov dword [esi + 0x6c], edx
mov dword [esi + 0x64], 0
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret