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

Disassembly:
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov edx, dword [esp + 0xec]
mov eax, dword [edx + 0x9c]
test eax, eax
mov edx, dword [edx + 0x8c]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x84], edx
mov edx, dword [0x7584514]
lea edx, [edx + ecx*2]
movsx ecx, word [edx]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x10], ecx
movsx ecx, word [edx + 2]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
mov ebx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
movsx esi, word [edx + 4]
mov ecx, esi
mov ebp, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], ecx
jl 0x10032575
lea ecx, [eax + 1]
xor eax, eax
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
mov eax, dword [0x758451c]
mov ecx, dword [0x7584514]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
cmp edx, eax
mov dword [esp + 0x80], eax
jae 0x100327de
jmp 0x100325a0
movsx ecx, word [edx]
mov eax, dword [0x75844f4]
mov edi, dword [esp + 0x10]
add eax, edi
cmp ecx, eax
jg 0x100327de
movsx eax, word [edx + 2]
cmp eax, esi
jg 0x100327ca
movsx edi, word [edx + 4]
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x8c], edi
jl 0x100327ca
cmp word [edx + 8], 0
jne 0x100327ca
mov word [edx + 8], 2
mov dx, word [edx + 6]
cmp dx, 0xffff
mov dword [esp + 0x10], ecx
je 0x10032608
mov dword [esp + 0x7c], ecx
movsx ecx, dx
lea ecx, [esp + ecx*4 + 0x94]
sub edi, eax
add dword [ecx], edi
xor edx, edx
cmp eax, ebx
jge 0x10032614
mov ebx, eax
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
jne 0x10032627
cmp eax, ecx
mov edx, 1
jne 0x10032627
xor edx, edx
test edx, edx
mov ecx, 9
lea esi, [esp + 0x58]
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x78], eax
jne 0x10032647
mov ebx, dword [esp + 0x50]
jmp 0x100326c9
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
mov dword [esp + 0x50], ebx
jge 0x1003265d
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
jge 0x1003266b
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jge 0x10032679
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
jge 0x10032687
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
jge 0x10032695
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x6c]
cmp ecx, ebx
jge 0x100326a3
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jge 0x100326b1
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x74]
cmp ecx, ebx
jge 0x100326bf
mov ebx, ecx
mov dword [esp + 0x50], ebx
cmp eax, ebx
jge 0x100326c9
mov ebx, eax
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x8c]
xor edx, edx
cmp eax, ebp
mov dword [esp + 0x20], ebx
jle 0x100326e0
mov ebp, eax
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
jne 0x100326f3
cmp eax, ecx
mov edx, 1
jne 0x100326f3
xor edx, edx
test edx, edx
mov ecx, 9
lea esi, [esp + 0x2c]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x4c], eax
jne 0x10032713
mov ebp, dword [esp + 0x24]
jmp 0x10032795
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
mov dword [esp + 0x24], ebp
jle 0x10032729
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
jle 0x10032737
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
jle 0x10032745
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
jle 0x10032753
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
jle 0x10032761
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x40]
cmp ecx, ebp
jle 0x1003276f
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
jle 0x1003277d
mov ebp, ecx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
jle 0x1003278b
mov ebp, ecx
mov dword [esp + 0x24], ebp
cmp eax, ebp
jle 0x10032795
mov ebp, eax
mov dword [esp + 0x24], ebp
mov eax, 0x55555556
imul dword [esp + 0x84]
mov eax, edx
shr eax, 0x1f
mov ecx, ebp
sub ecx, ebx
add eax, edx
cmp ecx, eax
mov esi, ebp
jl 0x100327de
cmp ebx, dword [esp + 0x18]
jge 0x100327bc
mov dword [esp + 0x18], ebx
cmp ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
jle 0x100327ca
mov dword [esp + 0x1c], ebp
add edx, 0xa
cmp edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
jb 0x100325a0
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x84]
jle 0x100328a8
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0xec]
sub ecx, eax
cmp ecx, dword [ebp + 0x90]
jle 0x100328a8
mov ebx, dword [ebp + 0x9c]
xor edx, edx
xor edi, edi
xor ecx, ecx
test ebx, ebx
jle 0x10032839
mov esi, dword [esp + ecx*4 + 0x94]
cmp edi, esi
jge 0x10032832
mov edi, esi
mov edx, ecx
add ecx, 1
cmp ecx, ebx
jl 0x10032823
add ebx, 0xffffffff
cmp edx, ebx
jge 0x10032859
mov ecx, dword [esp + edx*4 + 0x98]
lea ecx, [ecx + ecx*4]
add ecx, ecx
cmp ecx, edi
jle 0x10032859
mov esi, 1
add edx, esi
jmp 0x1003285e
mov esi, 1
movzx ecx, byte [ebp + 0xa1]
movzx edi, byte [ebp + 0xa0]
lea ecx, [edi + ecx*2]
test cl, 1
je 0x1003287a
mov dword [0x7584520], esi
test cl, 2
je 0x10032885
mov dword [0x7584524], esi
mov ecx, dword [esp + 0x10]
push edx
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
sub ecx, edx
push ecx
sub eax, edx
push ebp
call fcn.10031ee0
mov eax, dword [esp + 0x28]
add esp, 0x14
jmp 0x100328b4
mov eax, dword [esp + 0x88]
mov esi, 1
movsx edx, word [eax]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jg 0x100328e0
mov edx, dword [esp + 0x80]
cmp eax, edx
jae 0x100328e0
cmp word [eax + 8], 2
jne 0x100328d5
mov word [eax + 8], si
movsx edi, word [eax + 0xa]
add eax, 0xa
cmp edi, ecx
jle 0x100328c6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret