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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
xor eax, eax
inc eax
mov dword [ecx], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov dword [edi], ecx
lea ecx, [edi + 4]
push ecx
push 0
push 2
push eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x28], eax
push dword [ebx + 8]
mov esi, edx
mov dword [ebp + 8], ecx
call fcn.3011a9ef
test eax, eax
jne 0x30145ee8
lea eax, [edi + 8]
push eax
push 0
push 2
push 1
push dword [ebx + 8]
mov dword [ebp + 0x1c], eax
call fcn.3011a9ef
test eax, eax
jne 0x30145ee8
lea eax, [edi + 0xc]
push eax
push 0
push 2
push 1
push dword [ebx + 8]
mov dword [ebp + 0x18], eax
call fcn.3011a9ef
test eax, eax
jne 0x30145ee8
lea eax, [edi + 0x18]
push eax
push 0
push 2
push 1
push dword [ebx + 8]
mov dword [ebp - 4], eax
call fcn.3011a9ef
test eax, eax
jne 0x30145ee8
lea eax, [edi + 0x1c]
push eax
push 0
push 4
push 1
push dword [ebx + 8]
mov dword [ebp - 8], eax
call fcn.3011a9ef
test eax, eax
jne 0x30145ee8
lea eax, [edi + 0x20]
push eax
push 0
push 4
push 1
push dword [ebx + 8]
mov dword [ebp - 0xc], eax
call fcn.3011a9ef
test eax, eax
jne 0x30145ee8
add edi, 0x24
push edi
push eax
push 8
push 1
push dword [ebx + 8]
mov dword [ebp - 0x10], edi
call fcn.3011a9ef
test eax, eax
jne 0x30145ee8
test esi, esi
je 0x30145cf3
test byte [esi + 0x70], 1
je 0x30145cf3
movzx edx, word [esi + 0x7e]
movzx ecx, word [esi + 0x74]
mov eax, dword [ebp + 0x10]
lea edi, [ecx + edx]
cmp eax, edi
jge 0x30145cc8
mov edx, eax
sub edx, ecx
mov ecx, dword [esi + 4]
movzx ecx, word [ecx + edx*2]
jmp 0x30145d03
movzx edi, word [esi + 0x76]
movzx ecx, word [esi + 0x7c]
mov ebx, edi
sub ebx, ecx
cmp eax, ebx
jl 0x30145ce7
sub ecx, edi
add ecx, edx
mov edx, dword [esi + 4]
add ecx, eax
movzx ecx, word [edx + ecx*2]
jmp 0x30145d03
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
movzx ecx, word [ecx + eax*2]
jmp 0x30145d06
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
movzx ecx, word [eax + ecx*2]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov word [edx], cx
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx]
and word [ecx], 0
test esi, esi
je 0x30145d58
test byte [esi + 0x70], 1
je 0x30145d58
movzx ecx, word [esi + 0x74]
movzx edx, word [esi + 0x3c]
lea ebx, [edx + ecx]
cmp eax, ebx
jge 0x30145d37
sub eax, ecx
mov ecx, dword [esi + 0x30]
jmp 0x30145d5b
movzx ebx, word [esi + 0x76]
movzx ecx, word [esi + 0x3e]
sub ebx, ecx
cmp eax, ebx
jl 0x30145d58
movzx ebx, word [esi + 0x76]
sub ecx, ebx
add ecx, edx
add ecx, eax
mov eax, dword [esi + 0x30]
movzx eax, word [eax + ecx*2]
jmp 0x30145d5f
mov ecx, dword [edi + 0x30]
movzx eax, word [ecx + eax*2]
test esi, esi
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx]
mov word [ecx], ax
je 0x30145dba
test byte [esi + 0x70], 1
je 0x30145dba
movzx ecx, word [esi + 0x78]
movzx edx, word [esi + 0x40]
mov eax, dword [ebp + 0x14]
lea ebx, [edx + ecx]
cmp eax, ebx
jge 0x30145d90
mov edx, eax
sub edx, ecx
mov ecx, dword [esi + 0x10]
movzx ecx, word [ecx + edx*2]
jmp 0x30145dc7
movzx ebx, word [esi + 0x7a]
movzx ecx, word [esi + 0x42]
sub ebx, ecx
cmp eax, ebx
jl 0x30145db1
movzx ebx, word [esi + 0x7a]
sub ecx, ebx
add ecx, edx
mov edx, dword [esi + 0x10]
add ecx, eax
movzx ecx, word [edx + ecx*2]
jmp 0x30145dc7
mov ecx, dword [edi + 0x1c]
movzx ecx, word [ecx + eax*2]
jmp 0x30145dc7
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp + 0x14]
movzx ecx, word [eax + ecx*2]
mov eax, dword [ebp + 0x14]
test esi, esi
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov word [edx], cx
je 0x30145e18
test byte [esi + 0x70], 1
je 0x30145e18
movzx ecx, word [esi + 0x78]
movzx edx, word [esi + 0x40]
lea ebx, [edx + ecx]
cmp eax, ebx
jge 0x30145df4
mov edx, eax
sub edx, ecx
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + edx*4]
jmp 0x30145e1e
movzx edi, word [esi + 0x7a]
movzx ecx, word [esi + 0x42]
mov ebx, edi
sub ebx, ecx
cmp eax, ebx
jl 0x30145e15
sub ecx, edi
mov edi, dword [ebp + 0xc]
add ecx, edx
mov edx, dword [esi + 0x34]
add ecx, eax
mov ecx, dword [edx + ecx*4]
jmp 0x30145e1e
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x34]
mov ecx, dword [ecx + eax*4]
test esi, esi
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov dword [edx], ecx
je 0x30145e6b
test byte [esi + 0x70], 1
je 0x30145e6b
movzx ecx, word [esi + 0x78]
movzx edx, word [esi + 0x40]
lea ebx, [edx + ecx]
cmp eax, ebx
jge 0x30145e4a
mov edx, eax
sub edx, ecx
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
jmp 0x30145e71
movzx ebx, word [esi + 0x7a]
movzx ecx, word [esi + 0x42]
mov edi, ebx
sub edi, ecx
cmp eax, edi
mov edi, dword [ebp + 0xc]
jl 0x30145e6b
sub ecx, ebx
add ecx, edx
mov edx, dword [esi + 0x14]
add ecx, eax
mov ecx, dword [edx + ecx*4]
jmp 0x30145e71
mov ecx, dword [edi + 0x40]
mov ecx, dword [ecx + eax*4]
test esi, esi
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov dword [edx], ecx
je 0x30145ed2
test byte [esi + 0x70], 1
je 0x30145ed2
movzx ecx, word [esi + 0x78]
movzx edx, word [esi + 0x40]
lea edi, [ecx + edx]
cmp eax, edi
jge 0x30145e9f
mov esi, dword [esi + 0x28]
sub eax, ecx
mov edx, dword [esi + eax*8]
mov eax, dword [esi + eax*8 + 4]
jmp 0x30145ece
movzx ebx, word [esi + 0x7a]
movzx ecx, word [esi + 0x42]
mov edi, ebx
sub edi, ecx
cmp eax, edi
jl 0x30145ec1
mov esi, dword [esi + 0x28]
sub ecx, ebx
add ecx, edx
add ecx, eax
mov edx, dword [esi + ecx*8]
mov eax, dword [esi + ecx*8 + 4]
jmp 0x30145ece
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x24]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov ebx, edx
jmp 0x30145edc
mov ecx, dword [edi + 0x24]
mov ebx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [edx], ebx
mov dword [edx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18