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

Disassembly:
sub esp, 0x40
imul eax, dword [esp + 0x5c], 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
mov ebx, ecx
push esi
mov dword [esp + 0x34], eax
xor esi, esi
mov dword [esp + 0x20], edx
mov ebp, dword [ebp]
add eax, ebp
mov dword [esp + 0xc], eax
push edi
mov edi, dword [esp + 0x68]
mov eax, edi
cdq
sub eax, edx
mov dword [esp + 0x3c], ebp
sar eax, 1
mov edx, 1
mov ecx, eax
mov dword [esp + 0x18], esi
shl edx, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
xor edx, edx
mov eax, dword [ecx + 0x14]
dec eax
div dword [esp + 0x28]
mov edx, dword [ecx + 0x58]
inc eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
test edx, edx
js 0x10030e3e
mov edi, dword [ecx + 0x28]
mov ecx, edi
mov edx, dword [esp + 0x28]
shr edx, cl
imul eax, edx
push edx
push eax
mov eax, dword [esp + 0x70]
push esi
mov esi, 1
lea eax, [eax + 1]
cdq
sub eax, edx
imul edx, dword [esp + 0x40], 0x6c
sar eax, 1
mov ecx, eax
shl esi, cl
mov ecx, edi
shr esi, cl
mov ecx, ebx
imul esi, dword [esp + 0x7c]
mov edx, dword [edx + ebp + 4]
push esi
call fcn.100214b0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebp, dword [esp + 0x70]
cmp dword [esp + 0x6c], esi
jle 0x10030f9e
lea eax, [edi + 1]
cdq
sub eax, edx
mov edx, 1
sar eax, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x10]
mov esi, edx
imul esi, ebp
mov dword [esp + 0x30], edx
xor edx, edx
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x4c]
mov eax, dword [eax + esi*4]
div dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + esi*4]
mov esi, dword [esp + 0x28]
dec eax
div esi
inc eax
cmp byte [esp + 0x74], 0
mov dword [esp + 0x14], eax
je 0x10030f31
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
test esi, esi
je 0x10030f9a
jmp 0x10030eb0
cmp dword [0x100983a4], 0
jne 0x10030ef2
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x80]
mov esi, dword [ebx]
mov eax, dword [eax + 0x18]
dec eax
div dword [esp + 0x34]
mov edx, edi
inc eax
push eax
push ecx
push ebp
push ecx
mov ecx, ebx
call fcn.10036260
add esp, 0x14
mov ecx, ebx
push eax
push dword [esp + 0x30]
push ebp
push edi
call dword [esi]
mov esi, dword [esp + 0x18]
jmp 0x10030f22
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x2c]
mov eax, dword [eax]
push ebp
push edi
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x30]
mov ecx, dword [ecx + edx + 4]
push ebp
push edi
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, esi
jb 0x10030eb0
jmp 0x10030f9a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x28]
mov edx, dword [edx - 0x68]
shr eax, cl
imul eax, ebp
shr esi, cl
mov ecx, ebx
push esi
mov dword [esp + 0x34], eax
mov eax, esi
imul eax, dword [esp + 0x1c]
push eax
push 0
push dword [esp + 0x3c]
call fcn.100214b0
mov eax, dword [esp + 0x20]
xor edx, edx
push esi
mov ecx, ebx
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x3c]
inc eax
imul eax, esi
imul esi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x6c]
push esi
push dword [esp + 0x4c]
mov edx, dword [eax]
mov eax, dword [esp + 0x58]
mov edx, dword [edx + eax - 0x68]
call fcn.100214b0
mov esi, dword [esp + 0x38]
add esp, 0x20
mov ecx, dword [esp + 0x10]
cmp ebp, 1
jbe 0x10031347
lea eax, [edi + 1]
cdq
sub eax, edx
mov edx, 1
sar eax, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
xor edx, edx
mov eax, dword [ecx + 0x18]
dec eax
div dword [esp + 0x34]
cmp ebp, eax
mov eax, dword [esp + 0x14]
jae 0x1003134b
cmp byte [esp + 0x78], 0
jne 0x1003134b
test esi, esi
jne 0x1003134b
cmp eax, 3
jbe 0x1003134b
xor eax, eax
mov dword [esp + 0x30], eax
cmp byte [esp + 0x74], 0
je 0x1003103c
cmp dword [0x100983a4], 0
jne 0x1003103c
mov eax, dword [ecx + 0x18]
xor edx, edx
dec eax
mov esi, dword [ebx]
div dword [esp + 0x34]
push dword [esp + 0x80]
inc eax
mov edx, edi
push eax
push dword [esp + 0x38]
push ebp
push ecx
mov ecx, ebx
call fcn.10036260
add esp, 0x14
mov ecx, ebx
push eax
push dword [esp + 0x34]
push ebp
call dword [esi + 0x28]
jmp 0x10031093
push dword [esp + 0x7c]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x64]
push eax
push ebp
push edi
push 0x100983a8
push ebx
push ecx
mov ecx, dword [esp + 0x88]
call fcn.10036930
mov ecx, dword [esp + 0x40]
add esp, 0x24
mov esi, eax
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x24]
sub ecx, esi
push ecx
push dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
call fcn.1001fc70
mov edx, dword [ebx]
add eax, esi
push eax
push dword [esp + 0x34]
mov ecx, ebx
push ebp
call dword [edx + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x30], eax
cmp eax, 2
jb 0x10030ff8
mov eax, dword [esp + 0x14]
mov ecx, 2
mov dword [esp + 0x2c], ecx
lea esi, [eax - 2]
mov dword [esp + 0x30], esi
cmp esi, ecx
jbe 0x100311b5
cmp byte [esp + 0x74], 0
je 0x10031111
cmp dword [0x100983a4], 0
jne 0x10031111
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x80]
mov esi, dword [ebx]
mov eax, dword [eax + 0x18]
dec eax
div dword [esp + 0x38]
mov edx, edi
inc eax
push eax
push ecx
push ebp
push ecx
mov ecx, ebx
call fcn.10036260
add esp, 0x14
mov ecx, ebx
push eax
push dword [esp + 0x30]
push ebp
call dword [esi + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x100311a0
push dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x80]
push ebx
push dword [esp + 0x30]
call fcn.10036c70
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x44]
sub ecx, edx
sub eax, edx
mov dword [esp + 0x64], edx
add esp, 0x24
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], eax
cmp eax, ecx
je 0x1003118f
push dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
call fcn.10020f40
mov edx, dword [esp + 0x24]
push dword [esp + 0x3c]
mov dword [esp + 0x50], eax
lea ecx, [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
call fcn.10035bc0
add esp, 4
add eax, dword [esp + 0x40]
mov ecx, ebx
mov edx, dword [ebx]
push eax
push dword [esp + 0x30]
push ebp
call dword [edx + 0x28]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, esi
jb 0x100310c5
mov eax, dword [esp + 0x14]
cmp esi, eax
jae 0x100312ab
lea ecx, [ecx]
cmp byte [esp + 0x74], 0
je 0x1003120f
cmp dword [0x100983a4], 0
jne 0x1003120f
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x80]
mov esi, dword [ebx]
mov eax, dword [eax + 0x18]
dec eax
div dword [esp + 0x38]
mov edx, edi
inc eax
push eax
push dword [esp + 0x38]
push ebp
push ecx
mov ecx, ebx
call fcn.10036260
add esp, 0x14
mov ecx, ebx
push eax
push dword [esp + 0x34]
push ebp
call dword [esi + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x1003129c
push dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x68]
push eax
lea eax, [esp + 0x28]
push eax
push esi
push ebp
push edi
push 0x100983a8
push ebx
push dword [esp + 0x30]
call fcn.10036930
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x44]
sub ecx, edx
sub eax, edx
mov dword [esp + 0x54], edx
add esp, 0x24
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
cmp eax, ecx
je 0x1003128e
push dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
call fcn.10020f40
mov edx, dword [esp + 0x24]
push dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea ecx, [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
call fcn.10035bc0
add esp, 4
add eax, dword [esp + 0x30]
mov ecx, ebx
mov edx, dword [ebx]
push eax
push esi
push ebp
call dword [edx + 0x28]
inc esi
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x14]
jb 0x100311c0
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x6c], 0
jle 0x10031504
cmp byte [esp + 0x74], 0
je 0x10031504
mov eax, dword [ecx + 0x14]
xor edx, edx
dec eax
mov esi, dword [esp + 0x14]
div dword [esp + 0x28]
inc eax
cmp esi, eax
jae 0x10031504
lea eax, [edi + 1]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [esp + 0x6c], edx
lea ebx, [ebx]
cmp dword [0x100983a4], 0
jne 0x100314bf
mov eax, dword [ecx + 0x18]
mov esi, 1
mov ecx, edx
mov edi, dword [ebx]
shl esi, cl
xor edx, edx
push dword [esp + 0x80]
lea eax, [eax - 1]
div esi
mov esi, dword [esp + 0x6c]
mov edx, esi
inc eax
push eax
push dword [esp + 0x1c]
push ebp
push ecx
mov ecx, ebx
call fcn.10036260
add esp, 0x14
mov ecx, ebx
push eax
push dword [esp + 0x18]
push ebp
push esi
call dword [edi]
mov edi, esi
mov esi, dword [esp + 0x14]
jmp 0x100314e4
mov eax, dword [esp + 0x14]
cmp esi, eax
jae 0x100312af
lea eax, [edi + 1]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [esp + 0x30], edx
cmp byte [esp + 0x74], 0
je 0x100313b6
cmp dword [0x100983a4], 0
jne 0x100313b6
mov eax, dword [ecx + 0x18]
mov esi, 1
mov ecx, edx
mov edi, dword [ebx]
dec eax
shl esi, cl
xor edx, edx
div esi
push dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
inc eax
push eax
push dword [esp + 0x20]
push ebp
push ecx
mov ecx, ebx
call fcn.10036260
mov esi, dword [esp + 0x2c]
add esp, 0x14
mov ecx, ebx
push eax
push esi
push ebp
call dword [edi + 0x28]
mov edi, dword [esp + 0x68]
jmp 0x100314a3
cmp byte [esp + 0x78], 0
je 0x100313ff
mov ecx, dword [ecx + 0x10]
push esi
push ebp
push edi
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jle 0x100313fb
mov eax, dword [esp + 0x10]
push esi
push ebp
push edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x6c]
sub ecx, eax
mov eax, dword [esp + 0x54]
imul ecx, ecx, 0x6c
push esi
push ebp
mov eax, dword [eax]
push edi
mov ecx, dword [ecx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x10031499
mov ecx, dword [esp + 0x10]
push dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push esi
push ebp
push edi
push 0x100983a8
push ebx
push ecx
mov ecx, dword [esp + 0x88]
call fcn.10036930
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x44]
add esp, 0x24
cmp byte [esp + 0x78], 0
mov dword [esp + 0x34], ecx
je 0x1003144d
cmp ecx, edx
jg 0x10031447
cmp ecx, eax
jge 0x1003144d
mov ecx, eax
mov dword [esp + 0x34], eax
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x10031497
push dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
call fcn.10020f40
mov edx, dword [esp + 0x24]
push dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea ecx, [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
call fcn.10035bc0
mov ecx, dword [esp + 0x38]
add esp, 4
add eax, ecx
mov edx, dword [ebx]
mov ecx, ebx
push eax
push esi
push ebp
call dword [edx + 0x28]
mov ecx, dword [esp + 0x10]
inc esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x14]
jb 0x10031361
jmp 0x100312af
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
push esi
push ebp
mov eax, dword [eax]
push edi
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ebp
mov ecx, dword [ecx + 4]
push edi
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x10]
xor edx, edx
inc esi
mov dword [esp + 0x14], esi
mov eax, dword [ecx + 0x14]
dec eax
div dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
inc eax
cmp esi, eax
jb 0x100312f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret