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

Disassembly:
sub esp, 0x36c
mov eax, dword [0x10049200]
xor eax, esp
mov dword [esp + 0x368], eax
cmp dword [0x1004a364], 0
mov eax, dword [esp + 0x378]
mov ecx, dword [esp + 0x370]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x37c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x394]
push ebp
mov ebp, dword [esp + 0x388]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x39c]
push esi
mov esi, dword [esp + 0x37c]
mov dword [esp + 0x48], eax
mov eax, 0x61a8
push edi
mov edi, dword [esp + 0x394]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
je 0x10033566
mov eax, 0xfffffbd7
jmp 0x1003392b
mov dword [0x1006c724], ecx
mov eax, dword [ecx + 0x2c]
mov dword [0x1006c2b0], eax
push ebx
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x48], ebx
cmp dword [ebx + 0xc], 0
jne 0x1003358c
mov eax, 0xfffff9bd
jmp 0x1003392a
lea eax, [esp + 0x40]
push eax
mov eax, dword [0x1006c2a4]
push dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [esp + 0x3a0]
test eax, eax
jne 0x100335b1
mov dword [esp + 0x10], eax
jmp 0x10033660
cmp eax, 0x100
jne 0x10033600
lea edx, [edi + ebp]
mov ecx, ebp
cmp ebp, edx
jae 0x100335f2
mov al, byte [ecx]
and al, 0xdf
cmp al, 0x80
jae 0x100335f2
cmp al, 0x41
je 0x100335f2
cmp al, 0x43
je 0x100335f2
cmp al, 0x45
je 0x100335f2
cmp al, 0x49
je 0x100335f2
cmp al, 0x4e
je 0x100335f2
cmp al, 0x4f
je 0x100335f2
cmp al, 0x53
je 0x100335f2
cmp al, 0x55
je 0x100335f2
cmp al, 0x59
je 0x100335f2
inc ecx
cmp ecx, edx
jb 0x100335c1
cmp ecx, edx
jne 0x10033600
mov dword [esp + 0x10], 0
jmp 0x10033660
test ebp, ebp
je 0x10033660
lea eax, [esp + 0x28]
push eax
movzx eax, word [esi + 0x28]
push eax
push dword [esi + 0x10]
call fcn.10025290
test eax, eax
js 0x1003392a
mov eax, dword [esp + 0x28]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
movzx edx, byte [eax + 1]
test edx, edx
je 0x10033650
mov ecx, dword [esp + 0x39c]
shr ecx, 0x10
add eax, 0x1a
lea ecx, [ecx]
cmp cl, byte [eax]
je 0x1003364c
inc ebp
add eax, 8
cmp ebp, edx
jb 0x10033640
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 1
jmp 0x10033660
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0
push eax
push ebx
xor ebp, ebp
call fcn.100124e0
push dword [esp + 0x20]
mov esi, eax
call fcn.1000ca50
push dword [esp + 0x24]
call fcn.1000ca50
test esi, esi
je 0x100336b8
lea eax, [esp + 0x20]
push eax
push 4
push dword [ebx + 0x1c]
push dword [ebx + 4]
push dword [ebx]
call fcn.10078ef4
mov ebp, eax
test ebp, ebp
js 0x10033928
mov ecx, dword [ebx + 0x24]
mov edi, dword [esp + 0x20]
movzx esi, word [edi + ecx]
mov ecx, esi
and ecx, 0x7ff
mov dx, cx
mov dword [esp + 0x14], ecx
movzx eax, dx
movzx eax, byte [eax + edi]
inc ax
add dx, ax
test esi, 0x2000
je 0x100336f6
mov eax, dword [esp + 0x24]
movsx esi, word [ebx + 0x2e]
add eax, 0x18
lea esi, [eax + esi*4]
jmp 0x10033717
test esi, 0x1000
je 0x10033712
movsx ecx, word [ebx + 0x2e]
movzx eax, dx
add eax, edi
lea esi, [ecx*4 + 1]
add esi, eax
jmp 0x10033717
movzx esi, dx
add esi, edi
cmp dword [esp + 0x10], 0
movsx eax, word [ebx + 0x2c]
mov dword [esp + 0x14], esi
lea ebx, [esi + eax*4]
mov dword [esp + 0x60], ebx
je 0x10033859
cmp dword [esp + 0x30], 0
je 0x10033859
lea ebx, [esp + 0x74]
push 0x100
mov eax, ebx
push eax
mov eax, dword [esp + 0x40]
push dword [eax + 0x18]
call fcn.10010530
cmp eax, 0xff
jae 0x100337b8
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add edi, 0x18
test eax, eax
je 0x1003378b
mov esi, eax
lea esp, [esp]
lea eax, [esp + 0x174]
push eax
push edi
push ebx
call fcn.1002c630
add ebx, eax
add edi, 8
dec esi
jne 0x10033770
mov esi, dword [esp + 0x14]
mov ax, word [edi + 6]
shr ax, 0xf
movzx eax, ax
push eax
movzx eax, byte [edi + 5]
push eax
lea eax, [esp + 0x20]
push eax
push 0x1ff
push ebx
lea eax, [esp + 0x18c]
push eax
call fcn.10030370
test eax, eax
jne 0x100337ec
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0x1ff
lea eax, [esp + 0x188]
push eax
push dword [esp + 0x3b0]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.100242c0
mov ebp, eax
test ebp, ebp
js 0x100338e0
mov eax, dword [esp + 0x3a0]
cmp eax, 0x10f
jne 0x1003381b
push dword [esp + 0x18]
lea eax, [esp + 0x17c]
push eax
push dword [esp + 0x44]
push dword [esp + 0x1c]
push 2
call fcn.10027ab6
mov dword [esp + 0x44], eax
jmp 0x10033845
lea ecx, [esp + 0x44]
or eax, 0x80000000
push ecx
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x184]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x24]
call fcn.1003d960
mov ebp, eax
mov eax, dword [esp + 0x44]
test ebp, ebp
js 0x100338e0
test eax, eax
jne 0x100338e0
mov ebx, dword [esp + 0x60]
cmp esi, ebx
jae 0x1003388b
lea ecx, [ecx]
push dword [esi]
push dword [esp + 0x58]
push dword [esp + 0x54]
call dword [esp + 0x68]
test eax, eax
je 0x10033884
mov eax, dword [esp + 0x1c]
add esi, 4
dec eax
mov dword [esp + 0x1c], eax
cmp esi, ebx
jb 0x10033860
jmp 0x1003388f
mov ebp, 0xfffffc0d
jmp 0x100338e0
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x100338e0
cmp dword [esp + 0x40], 0
je 0x100338e0
mov edi, dword [esp + 0x64]
mov eax, 0x61a8
mov ebx, dword [esp + 0x50]
push 1
push edi
mov dword [esp + 0x70], 0xc
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], 0
mov dword [esp + 0x24], eax
call ebx
lea eax, [esp + 0x68]
push eax
push 1
push 7
push dword [esp + 0x40]
call dword [esp + 0x50]
push 0
push edi
mov ebp, eax
call ebx
mov ecx, dword [esp + 0x48]
mov ax, word [ecx + 0x2c]
dec ax
mov word [ecx + 0x2e], ax
test ebp, ebp
js 0x10033928
lea eax, [esp + 0x58]
push eax
push 0
push ecx
call fcn.10078ef4
mov ebp, eax
test ebp, ebp
js 0x10033928
xor ebx, ebx
cmp ebp, 0x652
sete bl
cmp dword [esp + 0x58], 0
mov dword [esp + 0x30], ebx
je 0x10033924
mov ebx, dword [esp + 0x48]
jmp 0x10033660
xor eax, eax
jmp 0x1003392a
mov eax, ebp
pop ebx
mov ecx, dword [esp + 0x374]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1003de00
add esp, 0x36c
ret 0x2c