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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [0x1005bde0]
mov dword [esp], 0
push ebx
mov ebx, ecx
mov dword [esp + 0x14], ebx
push esi
push edi
test eax, eax
je 0x100307ec
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 0x1005b244
push str._u:_u:_u:_u:_d:_d:_g
push dword [ebp + 0x14]
call eax
add esp, 0x28
jmp 0x10030820
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
push str._u:_u:_u:_u:_d:_d:_g
push dword [ebp + 0x14]
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0x24
cmp eax, 7
jge 0x10030835
mov ecx, ebx
call fcn.1002d770
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0
push dword [ebp + 0x1c]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x1005bdb0
push dword [ebp + 0x18]
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0xc0]
sub esp, 8
mov dword [esp + 0x58], 0
mov eax, esp
mov dword [esp + 0x5c], 0
mov word [esp + 0x60], 0
mov dword [esp + 0xc8], 0x75
mov byte [esp + 0xcc], 1
mov dword [eax], ecx
mov ecx, ebx
mov dword [eax + 4], 1
call fcn.1002fa50
mov esi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
mov eax, dword [sym.imp.msvcrt.dll_free]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
test esi, esi
jne 0x10030aba
mov eax, dword [ebx + 0x128]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], ecx
mov ecx, 0xa
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
cmp eax, ecx
jbe 0x10030913
lea ecx, [esp + 0x8c]
push ecx
push 4
push eax
lea ecx, [esp + 0x8c]
call fcn.100028f0
mov ecx, dword [esp + 0x88]
test eax, eax
mov edx, dword [esp + 0xc]
cmovne ecx, eax
mov dword [esp + 0x88], ecx
test edx, 0x200
je 0x10030925
mov dword [esp + 0x20], 0xfffffffe
jmp 0x10030945
test edx, 0x800
je 0x10030937
mov dword [esp + 0x20], 1
jmp 0x10030945
and edx, 0x400
neg edx
sbb edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 0x128]
mov esi, dword [ebx + 0x124]
lea eax, [eax + eax*8]
lea edi, [esi + eax*4]
cmp esi, edi
jae 0x100309c7
jmp 0x10030960
mov eax, dword [esi]
cmp eax, dword [esp + 0x24]
je 0x100309bc
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x100309bc
cmp dword [esp + 0x84], ecx
jb 0x1003099d
lea eax, [ecx + 0xa]
lea ecx, [esp + 0x8c]
push ecx
push 4
push eax
lea ecx, [esp + 0x8c]
call fcn.100028f0
test eax, eax
je 0x100309b5
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov dword [ecx + eax*4], ebx
inc dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add esi, 0x24
cmp esi, edi
jb 0x10030960
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x44], 0
je 0x100309ec
mov edi, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x44]
call fcn.100046e0
cmp eax, edi
mov esi, edi
cmovne esi, eax
mov eax, 1
mov ecx, esi
jmp 0x100309fb
mov edi, dword [esp + 0xc]
xor ecx, ecx
mov esi, dword [esp + 0xc]
mov eax, 2
push dword [esp + 0x84]
fld dword [esp + 0x2c]
push dword [esp + 0x84]
mov edx, dword [ebx + 0x3a0]
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
push ecx
fstp dword [esp]
push dword [esp + 0x44]
lea ecx, [esp + 0x2c]
push dword [esp + 0x4c]
push dword [esp + 0x54]
push dword [esp + 0x5c]
call fcn.10038fc0
mov cl, al
add esp, 0x24
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x13], cl
test al, 2
je 0x10030a4d
and eax, 0xfffffffd
test al, 1
je 0x10030a69
cmp esi, edi
mov edi, dword [esp + 0x18]
je 0x10030a6d
test esi, esi
je 0x10030a6d
push esi
call edi
mov cl, byte [esp + 0x17]
add esp, 4
jmp 0x10030a6d
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x10030b0c
cmp byte [ebp + 0xc], 2
jb 0x10030a87
test cl, cl
je 0x10030b0c
mov ecx, dword [esp + 0x84]
mov edi, edi
mov eax, ecx
dec ecx
test eax, eax
jne 0x10030a90
mov eax, dword [esp + 0x80]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x8c]
cmp eax, ecx
je 0x10030aba
test eax, eax
je 0x10030aba
push eax
call edi
add esp, 4
push 1
push dword [esp + 0x28]
mov ecx, ebx
call fcn.10035220
mov edi, eax
test edi, edi
jne 0x10030bc0
mov byte [esp + 0x60], al
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x50], al
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x70], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x78]
push eax
push edi
push 4
jmp 0x10030ccd
lea eax, [esp + 0x70]
mov byte [esp + 0x70], 0
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x7c], 0
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x84], 0
push eax
push 0
push 4
push dword [ebp + 8]
mov ecx, ebx
mov byte [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
call fcn.10034510
mov ecx, dword [esp + 0x84]
mov eax, ecx
dec ecx
test eax, eax
jne 0x10030b78
mov eax, dword [esp + 0x80]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x8c]
cmp eax, ecx
je 0x10030ba2
test eax, eax
je 0x10030ba2
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, 0x1005bdb0
je 0x10030cea
push eax
call edi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [edi + 8], esi
mov ecx, dword [ebx + 0xc]
push esi
call fcn.10011d80
test eax, eax
je 0x10030bdc
mov cx, word [eax]
mov word [edi + 4], cx
mov eax, dword [eax + 0xc]
jmp 0x10030c42
mov ecx, esi
call fcn.100394b0
test eax, eax
je 0x10030c11
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jns 0x10030bf7
fadd dword [0x10058f48]
mov eax, dword [ebx + 0xc]
fmul dword [0x10058f3c]
movzx eax, word [eax + 0x1170]
mov dword [esp + 0x14], eax
fimul dword [esp + 0x14]
jmp 0x10030c29
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [0x10058f44]
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fadd dword [0x10058f34]
sub esp, 8
fstp qword [esp]
call sub.msvcrt.dll_floor
add esp, 8
call fcn.1000184a
test byte [esp + 0xc], 0x10
mov dword [edi + 0x10], eax
je 0x10030c76
mov byte [edi + 0xc], 1
mov edx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov ecx, dword [edx + 0x10]
lea eax, [ecx + 1]
mov dword [edx + 0x10], eax
test ecx, ecx
jne 0x10030c76
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0xc]
add eax, 0x3e8
mov dword [ecx + 0xc], eax
movzx eax, word [edi + 4]
mov ecx, dword [edi + 0x10]
cdq
mov byte [esp + 0x60], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov byte [esp + 0x70], 4
fild dword [edi + 0x10]
test ecx, ecx
jns 0x10030c9d
fadd dword [0x10058f48]
fmul dword [0x10058f30]
mov eax, esi
cdq
mov dword [esp + 0x58], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
mov byte [esp + 0x54], 3
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x64], edx
push eax
push 3
fstp qword [esp + 0x88]
push 2
push dword [ebp + 8]
mov ecx, ebx
call fcn.10034510
mov eax, dword [esp + 0x40]
cmp eax, 0x1005bdb0
je 0x10030cea
push eax
call dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18