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

Disassembly:
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push str._enter_frame_
push eax
lea ecx, [esp + 0x64]
call fcn.301c7701
lea ecx, [esp + 0x5c]
call fcn.301c7748
mov eax, dword [esi + 0xd64]
xor ebx, ebx
cmp eax, ebx
jg 0x30112f2a
cmp dword [esi + 0x96c], ebx
jne 0x30112f2a
cmp dword [esi + 0xf78], 4
jne 0x301123d5
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, esi
call fcn.30004f00
mov ecx, esi
call fcn.3010e060
test eax, eax
jne 0x30112f2a
cmp dword [esi + 0x6c4], ebx
jg 0x301123f8
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + 4]
push esi
call fcn.30036060
mov al, byte [esi + 0x6d0]
test al, al
je 0x3011245b
mov eax, dword [esi + 0x6d4]
cmp eax, ebx
je 0x30112f2a
mov cl, byte [eax + 0x18]
test cl, cl
je 0x30112f2a
cmp dword [eax + 0x14], 1
jne 0x30112f2a
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esi + 0x6d4]
mov edx, dword [ecx + 0x10]
and eax, 0x7fffffff
sub eax, edx
cmp eax, 0x3a98
jl 0x30112f2a
push ebx
push esi
call fcn.300510b0
add esp, 8
pop esi
pop ebx
add esp, 0x88
ret 4
cmp dword [esi + 0x840], ebx
je 0x30112485
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x840], ebx
call dword [edx + 0x5c]
xor ecx, ecx
cmp eax, ebx
sete cl
push 1
push ecx
mov ecx, dword [esi + 0x7a4]
call fcn.30054d90
cmp dword [esi + 0x850], ebx
je 0x30112513
mov ecx, dword [esi + 0x858]
mov edx, dword [esi]
xor eax, eax
mov al, byte [esi + 0x85c]
mov dword [esi + 0x850], ebx
push eax
mov eax, dword [esi + 0x854]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x6c]
cmp eax, 2
jne 0x301124cc
mov ecx, dword [esi + 0x854]
push ecx
lea ecx, [esi + 0x810]
call fcn.300c3030
mov eax, dword [esi + 0x854]
cmp eax, ebx
je 0x301124e5
push eax
call fcn.30208320
add esp, 4
mov dword [esi + 0x854], ebx
mov eax, dword [esi + 0x858]
cmp eax, ebx
je 0x301124fe
push eax
call fcn.30208320
add esp, 4
mov dword [esi + 0x858], ebx
mov ecx, dword [esi + 0x7a4]
push 2
push ebx
mov byte [esi + 0x85c], 0
call fcn.30054d90
cmp dword [esi + 0x84c], ebx
je 0x30112544
mov eax, dword [esi + 0x6dc]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esi + 0x84c], ebx
call dword [edx + 0x60]
xor ecx, ecx
test al, al
sete cl
push 3
push ecx
mov ecx, dword [esi + 0x7a4]
call fcn.30054d90
lea ecx, [esi + 0x28]
mov dword [esp + 0x34], ecx
call fcn.3009dde0
test eax, eax
jne 0x30112f2a
mov edx, dword [esi + 0x7a4]
cmp dword [edx + 0x14], ebx
jne 0x30112f2a
cmp dword [esi + 0x6c4], ebx
jg 0x30112f2a
mov al, byte [esi + 0x6c8]
test al, al
jne 0x30112f2a
cmp dword [esi + 0x750], ebx
je 0x30112f2a
cmp dword [esi + 0x734], ebx
jne 0x30112f2a
push edi
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
mov edx, dword [esi + 0x96c]
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
xor eax, eax
cmp edx, ebx
sete al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
call edi
mov edi, eax
mov eax, dword [esi + 0x8a0]
and edi, 0x7fffffff
cmp eax, ebx
je 0x301125f8
cmp dword [esi + 0x89c], ebx
je 0x301125f8
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
sub edi, dword [esi + 0x8a0]
cmp edi, eax
jle 0x301125f8
mov dword [esi + 0x8a0], ebx
mov dword [esi + 0x89c], ebx
push ebp
mov dword [esp + 0x18], esi
call fcn.301952f0
mov ecx, dword [esi + 0xbb0]
call fcn.30132020
mov ecx, dword [esi + 0xbb4]
mov dword [esp + 0x10], eax
call fcn.3013a2e0
mov ecx, dword [esi + 0xbac]
call fcn.3013d7e0
lea ecx, [esi + 0xbc4]
push ebx
push ecx
call fcn.30137720
mov eax, dword [esi + 0xbbc]
lea edi, [esi + 0xbbc]
add esp, 8
cmp eax, ebx
je 0x30112784
mov edx, dword [esi + 0x24]
push str._tincan_
push edx
lea ecx, [esp + 0x6c]
call fcn.301c7701
mov eax, dword [esi + 0x20]
push 0x80
push eax
lea ecx, [esp + 0x5c]
call fcn.301024b0
lea ecx, [esp + 0x54]
mov dword [esi + 0xbc0], ecx
mov ecx, dword [edi]
cmp ecx, ebx
je 0x30112691
nop
call fcn.30147b20
mov edi, dword [edi]
mov ecx, dword [edi + 0x24]
add edi, 0x24
cmp ecx, ebx
jne 0x30112680
mov eax, dword [esi + 0xbbc]
cmp eax, ebx
lea edi, [esi + 0xbbc]
je 0x3011276c
mov eax, dword [edi]
cmp dword [eax + 0xd0], ebx
je 0x301126b7
lea edi, [eax + 0x24]
jmp 0x30112764
mov edx, dword [eax + 0x1c]
push edx
push esi
lea ecx, [esp + 0x48]
call fcn.300c47a0
mov ecx, dword [edi]
call fcn.30146620
mov ecx, dword [edi]
call fcn.30145b90
mov ecx, dword [edi]
call fcn.30145ab0
mov ecx, dword [edi]
call fcn.301460d0
mov ecx, dword [edi]
call fcn.30147990
mov ecx, dword [edi]
cmp dword [ecx + 0xd4], ebx
je 0x301128f0
mov ebp, dword [ecx + 0xb0]
cmp ebp, ebx
je 0x301128cf
mov ecx, dword [ebp + 0xec]
cmp ecx, ebx
je 0x30112713
call fcn.3014bf90
mov ebp, dword [ebp + 0x14]
cmp ebp, ebx
jne 0x30112704
mov eax, dword [edi]
mov ebp, dword [eax + 0xb0]
cmp ebp, ebx
je 0x30112745
mov al, byte [ebp + 0x291]
test al, al
je 0x3011273e
mov ecx, ebp
call fcn.3014f320
mov byte [ebp + 0x291], 0
mov ebp, dword [ebp + 0x14]
cmp ebp, ebx
jne 0x30112726
mov ecx, dword [edi]
call fcn.30145bd0
mov ecx, dword [esp + 0x10]
mov edi, dword [edi]
or ecx, eax
mov dword [esp + 0x10], ecx
add edi, 0x24
lea ecx, [esp + 0x40]
call fcn.300c3150
cmp dword [edi], ebx
jne 0x301126a5
lea ecx, [esp + 0x54]
mov dword [esi + 0xbc0], ebx
call fcn.3016ba70
lea ecx, [esp + 0x64]
call fcn.301c7748
cmp dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x9c]
je 0x301127bb
cmp ebp, ebx
je 0x301127bb
fld qword [esi + 0x748]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fistp dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x10]
jge 0x301127bb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb4]
mov ecx, dword [esi + 0xbcc]
cmp ecx, ebx
je 0x301127ca
call fcn.3007ef60
mov ecx, dword [esi + 0xbc8]
cmp ecx, ebx
je 0x301127da
push esi
call fcn.30071aa0
mov eax, dword [esi + 0x1c]
cmp dword [eax + 8], ebx
je 0x3011287f
cmp dword [esi + 0x96c], ebx
jne 0x3011287f
mov ecx, dword [eax + 8]
call fcn.300cf7c0
lea eax, [esi + 0x274]
push eax
lea ecx, [esp + 0x28]
call fcn.300bb330
lea ecx, [esp + 0x24]
call fcn.300bb380
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x30112876
jmp 0x30112820
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xa4]
test eax, eax
je 0x30112863
mov edi, ecx
call fcn.300e9740
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x30112863
mov ecx, ebx
call fcn.300f5cc0
test eax, eax
je 0x30112863
mov al, byte [ebx + 0x137]
test al, al
jne 0x30112863
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 0x5f8]
test ah, 8
je 0x30112940
lea ecx, [esp + 0x24]
call fcn.300bb380
test eax, eax
mov dword [esp + 0x10], eax
jne 0x30112820
xor ebx, ebx
lea ecx, [esp + 0x24]
call fcn.300bb350
cmp ebp, ebx
je 0x30112a99
fld qword [esi + 0x748]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fistp dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
jge 0x30112a99
mov ecx, dword [esi + 0x580]
call fcn.3007bc10
mov ecx, esi
call fcn.30109ef0
lea ecx, [esp + 0x18]
call fcn.300fb4f0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret 4
cmp dword [ecx + 0x1c], ebx
jne 0x3011271a
cmp ecx, ebx
mov eax, dword [ecx + 0x24]
mov dword [edi], eax
je 0x3011275b
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x3011275b
mov ecx, dword [ecx + 0x78]
call fcn.30134f40
test eax, eax
jne 0x3011271a
mov ebp, dword [edi]
mov eax, dword [ebp + 0x24]
mov dword [edi], eax
cmp dword [ebp + 0x1c], ebx
je 0x30112932
mov ecx, ebp
call fcn.30146390
test eax, eax
mov ecx, ebp
je 0x3011292c
call fcn.30145cc0
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
jmp 0x3011275b
push ebx
call fcn.30145c30
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
jmp 0x3011275b
mov edi, dword [edi + 0x40]
mov ecx, ebx
call fcn.300ccbb0
sub eax, edi
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.300f88b0
cmp eax, 5
jle 0x30112a65
fld qword [esi + 0x748]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fistp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x610]
sub eax, edx
mov dword [esi + ecx*4 + 0x5fc], eax
mov eax, dword [esi + 0x610]
inc eax
cdq
mov ecx, 5
idiv ecx
xor eax, eax
xor ebp, ebp
mov edi, ecx
mov dword [esi + 0x610], edx
lea edx, [esi + 0x5fc]
lea ebx, [ebx]
mov ecx, dword [edx]
cmp ebp, ecx
jg 0x301129b8
mov ebp, ecx
add eax, ecx
add edx, 4
dec edi
jne 0x301129b0
sub eax, ebp
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
cmp edi, 0xa
jle 0x30112a41
cmp edi, 0x3e8
jge 0x30112a41
mov ebp, dword [esi + 0x570]
fld qword [ebp + 0x210]
call fcn.3002ddb0
fld qword [ebp + 0x210]
add edi, eax
fmul qword [0x302964a8]
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
fstp qword [esp + 0x30]
sar edx, 2
and edx, 3
mov ecx, dword [edx*4 + 0x3029b640]
shl eax, cl
lea ecx, [eax + eax*4]
shl ecx, 1
mov eax, 0x4a4dc96f
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
fld qword [esp + 0x30]
fistp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add eax, edi
cdq
idiv ecx
add dword [esp + 0x1c], eax
jmp 0x30112a65
test ebp, ebp
jle 0x30112a65
xor ecx, ecx
mov dword [esi + 0x5fc], ecx
mov dword [esi + 0x600], ecx
mov dword [esi + 0x604], ecx
mov dword [esi + 0x608], ecx
mov dword [esi + 0x60c], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x24]
jg 0x30112a94
call fcn.300bb350
lea ecx, [esp + 0x18]
call fcn.300fb4f0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret 4
call fcn.300bb350
lea ecx, [esp + 0x18]
call fcn.300fb4f0
fild dword [esp + 0x20]
mov ecx, dword [esi + 0x570]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
fadd qword [ecx + 0x210]
fstp qword [esi + 0x748]
je 0x30112d6a
mov dword [esp + 0x10], ebp
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov edi, edi
lea eax, [esi + 0x26c]
push eax
lea ecx, [esp + 0x28]
call fcn.300bb330
lea ecx, [esp + 0x24]
call fcn.300bb380
mov edi, eax
test edi, edi
je 0x30112b7e
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x30112b60
mov ecx, edi
call fcn.300e9740
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x30112b60
cmp edi, dword [esp + 0x14]
je 0x30112b60
mov ecx, edi
call fcn.300e9740
mov ecx, dword [eax + 0x30]
call fcn.300f5cc0
test eax, eax
je 0x30112b60
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 0x5f8]
test ah, 8
jne 0x30112b60
mov eax, dword [esi + 0x970]
test eax, eax
jne 0x30112b60
mov ebx, dword [edi + 0x40]
mov ecx, edi
call fcn.300e9740
mov ecx, dword [eax + 0x30]
call fcn.300ccbb0
cmp eax, ebx
jge 0x30112b60
mov ecx, edi
call fcn.300e9740
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x30112b6b
push 0
mov ecx, edi
push 1
call fcn.300f13d0
lea ecx, [esp + 0x24]
call fcn.300bb380
mov edi, eax
test edi, edi
jne 0x30112af3
lea ecx, [esp + 0x24]
call fcn.300bb350
mov al, byte [esi + 0xbdd]
test al, al
je 0x30112bd6
lea eax, [esi + 0x26c]
push eax
lea ecx, [esp + 0x34]
mov byte [esi + 0xbdd], 0
call fcn.300bb330
lea ecx, [esp + 0x30]
call fcn.300bb380
test eax, eax
je 0x30112bcd
mov ecx, dword [eax + 0xc0]
call fcn.300ef180
lea ecx, [esp + 0x30]
call fcn.300bb380
test eax, eax
jne 0x30112bb5
lea ecx, [esp + 0x30]
call fcn.300bb350
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x30112be2
call fcn.3018b390
mov ecx, dword [esi + 0x580]
call fcn.3007c070
mov ecx, esi
call fcn.30109ef0
mov eax, dword [esi + 0x544]
mov ecx, dword [esi + 0x540]
push eax
call fcn.300bd620
push 0
mov ecx, esi
call fcn.3001f5b0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x30112c1b
call fcn.3018bc80
lea eax, [esi + 0x27c]
push eax
lea ecx, [esp + 0x44]
call fcn.300bb330
lea ecx, [esp + 0x40]
call fcn.300bb380
mov edi, eax
test edi, edi
je 0x30112d57
mov edi, edi
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 0x38c]
test eax, eax
je 0x30112d40
call fcn.300e1470
test eax, eax
je 0x30112d40
mov ecx, dword [edi + 0x2c]
call fcn.300e14a0
test al, al
jne 0x30112d40
mov ecx, dword [edi + 0x2c]
call fcn.300e1470
push edi
lea ecx, [esi + 0x27c]
mov ebx, eax
call fcn.300bcbd0
mov eax, dword [esi + 0x80c]
test eax, eax
jne 0x30112ca9
mov eax, dword [esi + 0xbfc]
test eax, eax
je 0x30112cb7
mov eax, dword [eax + 0xc0]
test eax, eax
je 0x30112cb7
mov eax, dword [eax + 0x34]
test eax, eax
je 0x30112cb7
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x30112cb7
mov ebp, eax
jmp 0x30112cc0
mov ecx, dword [esi + 0x570]
mov ebp, dword [ecx + 0x54]
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
call fcn.30045310
mov eax, dword [eax]
push 0
push eax
push ebp
mov ecx, esi
call fcn.30105920
lea ecx, [esp + 0x54]
mov ebp, eax
call fcn.30025af0
test ebp, ebp
jne 0x30112ceb
mov ebp, dword [edi + 0x2c]
mov ebx, dword [ebx + 0x2c]
push 0x30003430
push 1
push 4
lea eax, [esp + 0x24]
push eax
call fcn.30001050
push ebp
lea ecx, [esp + 0x1c]
call fcn.300ba250
mov ecx, dword [edi + 0x2c]
call fcn.300e1490
test ebx, ebx
je 0x30112d2d
push 0
push 1
lea ecx, [esp + 0x20]
push ecx
push str.onLoadInit
push ebx
mov ecx, esi
call fcn.3010b160
push 0x30003440
push 1
push 4
lea edx, [esp + 0x24]
push edx
call fcn.30001080
lea ecx, [esp + 0x40]
call fcn.300bb380
mov edi, eax
test edi, edi
jne 0x30112c40
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
call fcn.300bb350
dec dword [esp + 0x10]
jne 0x30112ad0
mov eax, dword [esi]
mov ecx, esi
dec ebp
call dword [eax + 0x98]
mov ecx, dword [esi + 0xbb8]
push 0
mov ebx, 2
push ebx
call fcn.30144a20
mov edi, dword [esi + 0xbbc]
test edi, edi
je 0x30112da8
mov ecx, dword [edi + 0xd8]
test ecx, ecx
je 0x30112da1
call fcn.3006e110
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x30112d92
xor edi, edi
push edi
push esi
lea ecx, [esi + 0x7c8]
call fcn.300f91c0
push edi
mov ecx, esi
call fcn.30110190
lea ecx, [esi + 0x5cc]
call fcn.300c8fb0
mov ecx, esi
call fcn.300fb470
cmp dword [esi + 0x718], edi
je 0x30112ded
lea ecx, [esi + 0x75c]
push ecx
mov ecx, esi
call fcn.30101450
mov dword [esi + 0x718], edi
cmp dword [esi + 0x524], edi
jne 0x30112e2c
cmp dword [esi + 0x644], edi
jne 0x30112e2c
mov eax, dword [esi + 0x758]
cmp eax, edi
jl 0x30112e2c
push 0
push eax
lea edi, [esi + 0x75c]
push edi
mov ecx, esi
call fcn.301115e0
mov edx, dword [esi + 0x760]
mov eax, dword [edi]
push edx
push eax
push ebx
mov ecx, esi
call fcn.30103f20
xor edi, edi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb4]
cmp dword [esi + 0x5e4], edi
je 0x30112f03
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esi + 0x570]
mov ecx, eax
mov eax, dword [esp + 0x20]
and ecx, 0x7fffffff
sub ecx, eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fcomp qword [edx + 0x210]
fnstsw ax
test ah, 0x41
je 0x30112e9c
cmp ebp, 1
jg 0x30112e9c
fld qword [edx + 0x210]
fmul qword [0x302944c8]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fistp dword [esp + 0x14]
cmp ecx, dword [esp + 0x14]
jge 0x30112ea2
inc dword [esi + 0x618]
jmp 0x30112ea2
inc dword [esi + 0x614]
mov edx, dword [esi + 0x61c]
inc edx
mov eax, edx
cmp eax, 4
mov dword [esi + 0x61c], edx
jle 0x30112efd
cmp dword [esi + 0x5e8], 0xa
jle 0x30112efd
cmp dword [esi + 0x5e0], ebx
jne 0x30112edc
mov ecx, dword [esi + 0x614]
lea ecx, [ecx + ecx*2]
cmp ecx, eax
jle 0x30112efd
mov dword [esi + 0x5e0], edi
jmp 0x30112eef
mov ecx, dword [esi + 0x618]
lea edx, [ecx + ecx*2]
cmp edx, eax
jle 0x30112efd
mov dword [esi + 0x5e0], ebx
mov ecx, esi
push ebx
mov dword [esi + 0x5e8], edi
call fcn.3010b5e0
inc dword [esi + 0x5e8]
mov ecx, dword [esi + 0x20]
add ecx, 0x354
call fcn.30209650
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x334]
call fcn.302078a0
mov ecx, dword [esp + 0x3c]
call fcn.30099d30
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret 4