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

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x4c]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
mov dword [esp + 0x14], esi
je 0x30104a44
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
jmp 0x30104a90
mov eax, dword [esi + 0x90c]
cmp eax, edi
mov dword [esi + 0x910], edi
je 0x30104a63
mov ecx, dword [esi + 0x20]
push eax
call fcn.302095c0
mov dword [esi + 0x90c], edi
mov eax, dword [esi + 0x224]
lea ecx, [esp + 0x58]
push ecx
push eax
mov ecx, esi
mov dword [esi + 0x914], edi
mov dword [esp + 0x60], edi
call fcn.30101660
mov edx, dword [esi + 0x90c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov ebx, eax
cmp ebx, edi
je 0x30104c65
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
cmp eax, edi
push ebp
mov dword [esp + 0x5c], edi
je 0x30104acb
add ecx, 4
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x30104b12
mov eax, dword [esi + 0x20]
push edi
push eax
push 0x90
call fcn.30208150
add esp, 0xc
cmp eax, edi
je 0x30104aee
mov ecx, eax
call fcn.300d3660
mov dword [esp + 0x5c], eax
jmp 0x30104af2
mov dword [esp + 0x5c], edi
mov ebp, dword [esp + 0x5c]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
xor edi, edi
xor eax, eax
cmp ebx, edi
mov dword [esp + 0x54], eax
jle 0x30104c56
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + eax*4]
cmp ebp, dword [esp + 0x60]
je 0x30104c49
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 2
je 0x30104b61
cmp eax, 9
je 0x30104b61
mov ecx, ebp
call fcn.300d1800
test eax, eax
jne 0x30104b61
mov ebx, 1
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebp
mov ecx, esi
call fcn.300fa5a0
jmp 0x30104b73
push edi
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.300dd3a0
mov ebx, 1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
cmp eax, ecx
mov ecx, dword [esp + 0x2c]
jl 0x30104b8b
cmp eax, ecx
mov dword [esp + 0x40], edi
jge 0x30104b8f
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x38], ecx
jg 0x30104b9d
cmp eax, ecx
mov dword [esp + 0x44], edi
jle 0x30104ba1
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
cmp edx, eax
mov ecx, dword [esp + 0x34]
jg 0x30104bb9
cmp ecx, eax
mov dword [esp + 0x48], edi
jle 0x30104bbd
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x20]
cmp ecx, eax
jl 0x30104bcd
cmp edx, eax
mov dword [esp + 0x4c], edi
jge 0x30104bd1
mov dword [esp + 0x4c], ebx
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x40]
sub eax, esi
lea ebx, [esi + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x30104be8
mov eax, dword [esp + 0x1c]
cmp dword [eax + esi], 0
je 0x30104c2f
mov eax, dword [esi]
push ebx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
push edi
lea edx, [esp + 0x34]
push edx
push eax
call fcn.300fbb30
cmp eax, ebp
jne 0x30104c2f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov dword [esi], ebp
mov dword [ecx + 0xc], eax
inc edi
add esi, 4
add ebx, 0x10
cmp edi, 4
jl 0x30104be4
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
xor edi, edi
inc eax
cmp eax, ebx
mov dword [esp + 0x54], eax
jl 0x30104b20
mov ecx, dword [esp + 0x5c]
cmp ecx, edi
pop ebp
je 0x30104c65
mov edx, dword [ecx]
push 1
call dword [edx]
pop edi
pop esi
pop ebx
add esp, 0x40
ret 0x10