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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
xor eax, eax
mov edi, 0x80000000
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], edi
call 0x30045872
push eax
push dword [esi + 0x1c4]
push 0x200000c8
push 1
call fcn.30035f1a
add esp, 0x10
lea ecx, [ebp - 0x24]
lea eax, [esi + 0xa8]
push ecx
push eax
call fcn.30040878
mov ebx, eax
test ebx, ebx
jns 0x3004233f
push 0x4423d4
jmp 0x30042892
mov eax, dword [esi + 0xb8]
push dword [esi + 0x1c4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
push eax
push 1
lea eax, [esi + 0xa8]
push eax
call fcn.30040950
mov ebx, eax
test ebx, ebx
jns 0x30042380
push ebx
push 0x157
push 0x441888
call 0x3005b0ae
push 0x4423bc
jmp 0x30042892
lea eax, [esi + 0x1b8]
push eax
lea ebx, [esi + 0x208]
push ebx
call 0x30047b74
mov eax, dword [esi + 0xf4]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x20c], eax
lea eax, [esi + 0x78]
push eax
push ecx
mov dword [ebx], ecx
call 0x300471a0
mov ebx, eax
test ebx, ebx
jns 0x300423be
push 0x4423a2
jmp 0x30042892
xor eax, eax
cmp dword [esi + 0xf0], eax
jne 0x300423ce
cmp dword [esi + 0x30], 4
jne 0x300423d1
xor eax, eax
inc eax
mov dword [esi + 0x214], eax
lea eax, [esi + 0x1f0]
push eax
lea eax, [esi + 0x1c]
push eax
push dword [ebp + 0xc]
lea ecx, [esi + 0xe8]
push ecx
call 0x3004752e
mov ebx, eax
test ebx, ebx
jns 0x30042401
push 0x442384
jmp 0x30042892
lea eax, [esi + 0x208]
push eax
push esi
call 0x300517ec
mov ebx, eax
test ebx, ebx
jns 0x3004241e
push 0x442350
jmp 0x30042892
cmp dword [ebp + 0xc], 2
jne 0x3004245b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x1b0]
push eax
lea eax, [esi + 0x78]
push eax
push dword [esi + 0x4c]
lea eax, [esi + 0x208]
push dword [esi + 0x48]
push dword [esi + 0x12c]
push eax
call 0x30048710
mov ebx, eax
test ebx, ebx
jns 0x3004246e
push 0x442326
jmp 0x30042892
cmp dword [esi + 0xe8], 0
je 0x3004246e
mov dword [esi + 0x210], 1
mov eax, dword [esi + 0x244]
and dword [ebp + 8], 0
cmp dword [esi + 0x1c4], 0
mov dword [ebp - 0x28], eax
jbe 0x300426b7
cmp dword [ebp + 0xc], 3
jne 0x3004249a
mov edi, dword [esi + 0x1c4]
sub edi, dword [ebp + 8]
dec edi
jmp 0x3004249d
mov edi, dword [ebp + 8]
imul edi, edi, 0xc8
add edi, dword [esi + 0x1c0]
cmp dword [ebp + 0xc], 3
jne 0x300424b4
mov eax, dword [edi + 0x3c]
jmp 0x300424b7
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x300424f9
cmp dword [ebp - 0x1c], 0
je 0x300424da
lea eax, [esi + 0x208]
push eax
call 0x30047ffa
mov ebx, eax
test ebx, ebx
js 0x30042717
push dword [ebp - 0x14]
lea eax, [esi + 0x208]
push eax
call 0x300474c0
mov ebx, eax
test ebx, ebx
js 0x300427ce
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x4c]
push eax
push dword [esi + 0x38]
lea eax, [esi + 0x78]
push dword [edi + 0xc]
push eax
push dword [ebp + 0xc]
xor eax, eax
cmp dword [edi + 0x18], eax
sete al
push eax
push dword [edi + 0x40]
push dword [edi + 0x80]
call 0x30047c5a
mov ebx, eax
test ebx, ebx
js 0x30042721
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x50]
push ecx
push dword [edi]
mov dword [ecx], eax
mov eax, dword [esi + 0xb8]
mov edx, dword [eax]
push eax
call dword [edx + 0x40]
push eax
push 1
lea eax, [esi + 0xa8]
push eax
call fcn.30040950
mov ebx, eax
test ebx, ebx
js 0x3004272b
cmp dword [edi + 0x50], 0
je 0x30042610
cmp dword [ebp + 0xc], 2
jne 0x3004258f
push dword [ebp - 0x10]
lea eax, [esi + 0x208]
push edi
push eax
call 0x300488b0
mov ebx, eax
test ebx, ebx
jns 0x3004265e
push 0x442306
jmp 0x30042892
cmp dword [edi + 0x18], 0
je 0x300425a7
cmp dword [ebp - 8], 0x80000000
jne 0x300425a7
mov eax, dword [esi + 0x24c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x128]
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x1f0]
push eax
push edi
lea eax, [esi + 0x208]
push eax
lea eax, [esi + 0xa8]
push eax
push dword [esi + 0x20]
push dword [esi + 0xe8]
call 0x30048c70
mov ebx, eax
test ebx, ebx
js 0x30042745
cmp dword [edi + 0x18], 0
je 0x3004265e
cmp dword [ebp - 4], 0x80000000
jne 0x300425fc
mov eax, dword [esi + 0x244]
dec eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x244]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 0x18], eax
jmp 0x3004265e
cmp dword [ebp + 0xc], 2
je 0x3004265e
push dword [esi + 0x128]
lea eax, [esi + 0x208]
push eax
push edi
push dword [esi + 0xe8]
push 0
call 0x30051882
mov ebx, eax
test ebx, ebx
js 0x3004274f
push dword [esi + 0x128]
lea eax, [esi + 0x208]
push eax
push edi
push dword [esi + 0xe8]
call 0x30051abe
mov ebx, eax
test ebx, ebx
js 0x30042758
xor eax, eax
cmp dword [edi + 0x5c], eax
jne 0x3004266f
cmp dword [edi + 0x60], eax
jne 0x3004266f
cmp dword [edi + 0x64], eax
je 0x30042685
lea eax, [esi + 0x208]
push eax
call 0x30047ffa
mov ebx, eax
test ebx, ebx
js 0x3004276d
push dword [edi + 0x60]
mov eax, dword [esi + 0xb8]
push dword [edi + 0x5c]
mov ecx, dword [eax]
push dword [edi + 0x50]
push dword [edi + 0x40]
push ebx
push dword [edi]
push eax
call dword [ecx + 0x4c]
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1c4]
jb 0x30042488
mov edi, 0x80000000
cmp dword [esi + 0xf0], 0
jne 0x30042777
cmp dword [ebp + 0xc], 4
je 0x300426da
cmp dword [ebp + 0xc], 5
je 0x300426da
cmp dword [ebp + 0xc], 6
jne 0x30042777
cmp dword [ebp - 4], edi
jne 0x300426f1
mov eax, dword [esi + 0x244]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 8], eax
push dword [ebp - 8]
lea eax, [esi + 0x208]
push dword [ebp - 4]
push eax
call 0x300473c4
mov ebx, eax
test ebx, ebx
jns 0x300427b6
push 0x4422dc
jmp 0x30042892
push 0x4422b0
jmp 0x30042892
push 0x44228a
jmp 0x30042892
push ebx
push 0x19e
push 0x441888
call 0x3005b0ae
push 0x44226a
jmp 0x30042892
push 0x44224a
jmp 0x30042892
push dword [edi]
push 0x44220c
jmp 0x3004275f
push dword [edi]
push 0x4421d0
push ebx
call 0x3005b09a
add esp, 0xc
jmp 0x300428b8
push 0x4421aa
jmp 0x30042892
cmp dword [ebp + 0xc], 3
jne 0x300427b6
cmp dword [ebp - 0xc], edi
jne 0x30042794
mov eax, dword [esi + 0x244]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
lea eax, [esi + 0x208]
push dword [ebp - 0xc]
push eax
call 0x30047442
mov ebx, eax
test ebx, ebx
jns 0x300427b6
push 0x44217c
jmp 0x30042892
cmp dword [ebp - 0x1c], 0
je 0x300427d8
lea eax, [esi + 0x208]
push eax
call 0x30047ffa
mov ebx, eax
test ebx, ebx
jns 0x300427d8
push 0x442154
jmp 0x30042892
lea edi, [esi + 0x208]
push edi
call 0x300483b0
mov ebx, eax
test ebx, ebx
jns 0x300427f4
push 0x442124
jmp 0x30042892
and dword [ebp + 8], 0
cmp dword [esi + 0x1c4], 0
jbe 0x30042840
cmp dword [ebp + 0xc], 3
jne 0x30042813
mov eax, dword [esi + 0x1c4]
sub eax, dword [ebp + 8]
dec eax
jmp 0x30042816
mov eax, dword [ebp + 8]
imul eax, eax, 0xc8
add eax, dword [esi + 0x1c0]
push eax
push edi
push dword [ebp + 0xc]
call 0x300471d2
mov ebx, eax
test ebx, ebx
js 0x3004289c
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1c4]
jb 0x30042801
cmp dword [ebp + 0xc], 2
je 0x300428a3
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x128]
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x1f0]
push eax
push edi
push dword [esi + 0x124]
lea eax, [esi + 0x198]
push dword [esi + 0x120]
push eax
lea eax, [esi + 0xa8]
push eax
push dword [ebp + 0xc]
push dword [esi + 0xe8]
call 0x30047d36
mov ebx, eax
test ebx, ebx
jns 0x300428a3
push 0x442104
push ebx
call 0x3005b09a
pop ecx
pop ecx
jmp 0x300428b8
push 0x4420e6
jmp 0x30042892
push dword [ebp + 0xc]
lea eax, [esi + 0x1b8]
lea edi, [esi + 0x198]
push eax
call fcn.30041bb2
cmp dword [ebp - 0x24], 0
je 0x300428ca
lea eax, [esi + 0xa8]
push eax
call fcn.30040546
mov esi, dword [esi + 0xb8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x50]
push ebx
push 0x2000012b
push 1
call fcn.30035f1a
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x300428f5
push dword [ebp - 0x10]
call 0x300586b8
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8