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

Disassembly:
sub esp, 0x398
push ebx
push ebp
mov ebx, ecx
mov eax, dword [ebx + 0x54]
test al, 0x10
push esi
push edi
je 0x300df81b
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
test edx, edx
mov edi, dword [esp + 0x48c]
je 0x300de95f
test ah, 2
jne 0x300de954
mov ecx, ebx
call fcn.30085070
test eax, eax
je 0x300de903
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 4]
call fcn.300d1270
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
push 0
lea eax, [esp + 0x94]
push eax
push edx
mov ecx, ebx
call fcn.300d55d0
mov ecx, dword [esp + 0x490]
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
push 0
push 1
push ecx
push edi
sub esp, 0xdc
lea edx, [esp + 0x17c]
mov ecx, esp
push edx
call fcn.300d6c90
mov ecx, esi
call fcn.300dbd90
test eax, eax
je 0x300df81b
jmp 0x300de95f
mov dword [esp + 0x494], 1
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x170]
call fcn.300d6c90
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x16c]
push ecx
mov edx, ecx
push edx
lea eax, [ebx + 0x30]
push eax
add esi, 0x30
call fcn.30077fc0
add esp, 0xc
test esi, esi
je 0x300de9a1
push esi
lea ecx, [esp + 0x18c]
call fcn.300ad390
push edi
lea ecx, [esp + 0x268]
push ecx
lea edx, [esp + 0x3b8]
push edx
push ebx
call fcn.300de550
mov ebp, eax
mov eax, dword [esp + 0x4a0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
add esp, 0x10
mov ecx, ebx
mov dword [esp + 0x48c], ebp
mov dword [esp + 0x18], edx
call fcn.300850a0
test eax, eax
je 0x300dea03
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x170]
push eax
call fcn.30081be0
test al, al
je 0x300df81b
mov eax, dword [ebx + 0x18]
test eax, eax
mov esi, 0x2000000
je 0x300dec52
cmp dword [eax + 0x78], 9
jne 0x300dec52
mov eax, dword [eax + 0x68]
test eax, eax
je 0x300deb4e
mov cl, byte [eax + 0x642]
test cl, cl
je 0x300deb4e
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x300dea49
mov edx, dword [eax + 4]
jmp 0x300dea4b
mov edx, eax
test edx, edx
je 0x300dea60
test ecx, ecx
je 0x300dea56
mov eax, dword [eax + 4]
test byte [eax + 0x48], 1
je 0x300df81b
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
mov ecx, dword [eax + 0x78]
je 0x300dea6e
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x300dea8f
test dword [eax + 0x54], esi
je 0x300dea7f
mov edx, dword [eax + 0x78]
mov eax, dword [edx + 4]
jmp 0x300dea82
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x48]
shr eax, 1
test al, 1
je 0x300df81b
mov ecx, ebx
and ecx, 0xfffff000
mov edx, dword [ecx]
mov eax, dword [edx + 0x138]
mov eax, dword [eax + 0x224]
test dword [eax + 0x54], esi
mov ecx, dword [eax + 0x78]
je 0x300deab0
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x300dead1
test dword [eax + 0x54], esi
je 0x300deac1
mov edx, dword [eax + 0x78]
mov eax, dword [edx + 4]
jmp 0x300deac4
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x48]
shr eax, 1
test al, 1
je 0x300df81b
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x128]
test ah, 4
je 0x300deb3f
test ah, 0x10
je 0x300deb3f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x24], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.300d20e0
mov ecx, eax
call fcn.300ad750
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x20]
push 0
push edx
push eax
call fcn.30065040
test eax, eax
je 0x300df81b
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov ecx, ebx
call fcn.300d1370
test al, al
jne 0x300df81b
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x128]
test ch, 0x10
je 0x300debcb
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x300deb73
mov cl, byte [eax + 0x642]
test cl, cl
jne 0x300debcb
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.300d20e0
mov ecx, eax
call fcn.300ad750
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + 0x18]
mov edx, dword [esp + 0x20]
push 0
push eax
push edx
call fcn.30065040
test eax, eax
je 0x300dec52
mov eax, dword [esp + 0x3ac]
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x300debe1
mov eax, dword [eax + 8]
test eax, eax
je 0x300debe1
mov eax, dword [eax + 0x3e4]
jmp 0x300debe3
xor eax, eax
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.30079470
add esp, 0xc
test al, al
je 0x300dec52
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.30077890
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, ebx
call fcn.300d5780
push eax
call fcn.30077430
add esp, 8
test eax, eax
je 0x300dec52
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x18]
call fcn.3005ed50
test eax, eax
je 0x300df81b
mov byte [ebx + 0x8c], 1
test dword [ebx + 0x54], esi
mov eax, dword [ebx + 0x78]
je 0x300dec5d
mov eax, dword [eax + 4]
test eax, eax
mov edi, dword [esp + 0x498]
jne 0x300def7e
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x300dec88
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x300dec88
mov dl, byte [ecx + 0x642]
test dl, dl
jne 0x300def7e
test edi, edi
je 0x300dedc0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x300dedc0
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x300decac
cmp eax, 0x61
jne 0x300dedc0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x300ded23
jmp 0x300decc0
mov ecx, dword [esi + 4]
cmp word [ecx + 0x5a], 0
lea eax, [esp + 0x16c]
lea edx, [esp + 0x14]
je 0x300decf4
push 0
push 0
push edx
push ebp
sub esp, 0xdc
mov ecx, esp
push eax
call fcn.300d6c90
mov ecx, esi
call fcn.300dbd90
mov esi, eax
jmp 0x300ded1f
mov ecx, dword [esp + 0x494]
push edi
push ecx
push edx
push ebp
sub esp, 0xdc
mov ecx, esp
push eax
call fcn.300d6c90
mov ecx, dword [esp + 0x498]
push ecx
mov ecx, esi
call fcn.300de8c0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x300decc0
mov edx, dword [esp + 0x3ac]
mov eax, dword [edx]
test eax, eax
je 0x300ded44
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x300ded44
cmp eax, 0x61
jne 0x300df81b
lea ecx, [esp + 0x3b0]
push ecx
lea ecx, [esp + 0x94]
call fcn.300d6c90
mov eax, dword [esp + 0x490]
mov edx, dword [eax]
mov ecx, dword [esp + 0x494]
mov eax, dword [eax + 4]
push 0
push 0
push 0
push ecx
push 0
mov dword [esp + 0x28], edx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x30], eax
push ebp
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov dword [esp + 0x40], 0
call fcn.300dd030
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x300df81b
mov edx, dword [esp + 0x3ac]
mov dword [edx], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov ecx, ebx
call fcn.300d1800
test eax, eax
je 0x300df2d2
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
mov ebp, ebx
xor edi, edi
call fcn.300d6c90
mov eax, dword [esp + 0x490]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x68]
mov esi, dword [ecx + 0xdc]
test esi, esi
je 0x300def24
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x1c], 2
mov eax, dword [edx + 0xc0]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.300c47a0
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + 0xc0]
mov ecx, dword [esi + 0xcb4]
push edi
push edi
lea edx, [esp + 0x24]
push edx
push ecx
push eax
mov ecx, esi
call fcn.30106210
test eax, eax
je 0x300def1b
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.30105020
test eax, eax
je 0x300def1b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
test eax, eax
je 0x300def1b
mov eax, dword [eax + 0x54]
test eax, eax
je 0x300def1b
mov esi, dword [ebx + 8]
test esi, esi
mov ebp, eax
je 0x300deee8
lea esp, [esp]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x300dee9c
mov eax, dword [eax + 8]
jmp 0x300dee9e
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x300deee8
mov ecx, esi
call fcn.300850a0
test eax, eax
je 0x300deee1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x24]
mov al, byte [ecx + 0x139]
test al, al
je 0x300deee1
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax + 0x220]
add dword [esp + 0x14], ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax + 0x224]
add dword [esp + 0x18], ecx
mov esi, dword [esi + 8]
test esi, esi
jne 0x300dee90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call fcn.300d5570
test al, al
jne 0x300def16
lea ecx, [esp + 0x28]
call fcn.300c3150
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov edi, 1
lea ecx, [esp + 0x28]
call fcn.300c3150
mov ecx, dword [esp + 0x494]
mov eax, dword [esp + 0x48c]
push 0
push 0
push 0
push ecx
push edi
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
mov dword [esp + 0x44], 0
call fcn.300dd030
mov eax, dword [esp + 0x20]
test eax, eax
je 0x300df81b
mov eax, dword [esp + 0x3ac]
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x300df2d2
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x300def9d
cmp eax, 0x61
jne 0x300df2d2
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
je 0x300defad
mov edx, dword [eax + 0x78]
mov ecx, dword [edx + 4]
jmp 0x300defb0
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x300defcd
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x300defbf
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x48]
shr ecx, 1
test cl, 1
je 0x300df81b
mov edx, ebx
and edx, 0xfffff000
mov eax, dword [edx]
mov ecx, dword [eax + 0x138]
mov eax, dword [ecx + 0x224]
test dword [eax + 0x54], esi
je 0x300deff0
mov edx, dword [eax + 0x78]
mov ecx, dword [edx + 4]
jmp 0x300deff3
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x300df010
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x300df002
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x48]
shr ecx, 1
test cl, 1
je 0x300df81b
mov ecx, ebx
call fcn.300d1370
test al, al
jne 0x300df81b
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x78]
shr eax, 0x19
and eax, 1
mov dword [esp + 0x1c], 0
je 0x300df03a
mov edx, dword [ecx + 4]
jmp 0x300df03c
mov edx, ecx
test edx, edx
je 0x300df154
test eax, eax
je 0x300df04b
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 0x48]
shr edx, 1
test dl, 1
je 0x300df154
mov esi, dword [ebx + 0x10]
test esi, esi
mov ebp, dword [esp + 0x498]
je 0x300df0d3
mov edi, dword [esp + 0x48c]
mov edi, edi
mov eax, dword [esi + 4]
cmp word [eax + 0x5a], 0
lea edx, [esp + 0x16c]
lea ecx, [esp + 0x14]
je 0x300df0a4
push 0
push 0
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.300d6c90
mov ecx, esi
call fcn.300dbd90
mov esi, eax
jmp 0x300df0cf
mov eax, dword [esp + 0x494]
push ebp
push eax
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.300d6c90
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.300de8c0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x300df070
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x300df136
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0x5a]
test ax, ax
je 0x300df12f
push ebp
push 1
lea edx, [esp + 0x1c]
push edx
movzx edi, ax
mov eax, dword [esp + 0x498]
push eax
sub esp, 0xdc
lea edx, [esp + 0x258]
mov ecx, esp
push edx
call fcn.300d6c90
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.300de8c0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x300df136
cmp dword [esi + 0x1c], edi
jle 0x300df123
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x300df0e0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x300df154
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x300df167
mov edx, dword [eax + 4]
jmp 0x300df169
mov edx, eax
test edx, edx
je 0x300df18b
test ecx, ecx
je 0x300df174
mov eax, dword [eax + 4]
test byte [eax + 0x48], 1
je 0x300df81b
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x78], 0x61
je 0x300df81b
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
mov edi, ebx
xor esi, esi
call fcn.300d6c90
mov eax, dword [esp + 0x490]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx + 0xdc]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x300df280
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x300df1e1
mov edx, dword [eax + 4]
jmp 0x300df1e3
mov edx, eax
test edx, edx
je 0x300df280
test ecx, ecx
je 0x300df1f2
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x300df280
mov esi, dword [ebx + 8]
test esi, esi
mov edi, dword [eax + 0x44]
je 0x300df25f
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x300df213
mov eax, dword [eax + 8]
jmp 0x300df215
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x300df25f
mov ecx, esi
call fcn.300850a0
test eax, eax
je 0x300df258
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x24]
mov al, byte [ecx + 0x139]
test al, al
je 0x300df258
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax + 0x220]
add dword [esp + 0x14], ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax + 0x224]
add dword [esp + 0x18], ecx
mov esi, dword [esi + 8]
test esi, esi
jne 0x300df207
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, edi
call fcn.300d5570
test al, al
je 0x300df81b
mov esi, 1
mov ecx, dword [esp + 0x494]
mov eax, dword [esp + 0x48c]
push 0
push 0
push 0
push ecx
push esi
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.300dd030
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x300df81b
mov eax, dword [esp + 0x3ac]
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x300df6dd
cmp dword [esi + 0x78], 2
jne 0x300df6dd
mov edi, dword [esi + 0x68]
test edi, edi
je 0x300df39b
mov al, byte [edi + 0x642]
test al, al
je 0x300df39b
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x300df313
mov edx, dword [eax + 4]
jmp 0x300df315
mov edx, eax
test edx, edx
je 0x300df32a
test ecx, ecx
je 0x300df320
mov eax, dword [eax + 4]
test byte [eax + 0x48], 1
je 0x300df81b
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x54]
mov edx, 0x2000000
test edx, ecx
mov ecx, dword [eax + 0x78]
je 0x300df33f
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x300df35c
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x300df34e
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x48]
shr ecx, 1
test cl, 1
je 0x300df81b
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov eax, dword [ecx + 0x138]
mov eax, dword [eax + 0x224]
test dword [eax + 0x54], edx
mov ecx, dword [eax + 0x78]
je 0x300df37c
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x300df3a0
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x300df38b
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x48]
shr ecx, 1
test cl, 1
je 0x300df81b
jmp 0x300df3a0
mov edx, 0x2000000
mov al, byte [edi + 0x642]
test al, al
je 0x300df49d
test dword [ebx + 0x54], edx
je 0x300df3bb
mov edx, dword [ebx + 0x78]
mov eax, dword [edx + 4]
jmp 0x300df3be
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x300df81b
mov eax, dword [eax + 0x74]
test eax, eax
je 0x300df81b
mov esi, dword [eax + 0x44]
lea edi, [esi + 0x7c]
mov eax, edi
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], 0
call fcn.300d6c90
lea edx, [esp + 0x90]
push edx
mov eax, edx
push eax
lea ecx, [esi + 0x30]
push ecx
call fcn.30077fc0
add esp, 0xc
push edi
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.300d9f60
mov ecx, esi
call fcn.300d3780
push 0
push 1
mov ecx, esi
call fcn.300d5290
mov ecx, dword [esp + 0x48c]
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x188]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.300dd030
mov eax, dword [esp + 0x20]
test eax, eax
je 0x300df481
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [edi], ebp
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp 0x300df6dd
mov eax, dword [esi + 0x70]
test eax, eax
je 0x300df6dd
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edx
call fcn.30004870
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push eax
push 0
push ecx
lea ecx, [esp + 0x48]
call fcn.300dfc60
mov edx, dword [ebx + 0x18]
cmp byte [edx + 0x7e], 0x22
jne 0x300df4d9
add dword [esp + 0x40], 2
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov al, byte [ecx + esi]
inc ecx
test al, al
mov byte [esp + 0x13], al
je 0x300df6dd
xor ebp, ebp
lea eax, [ecx + esi]
add ecx, 2
mov dword [esp + 0x40], ecx
xor edx, edx
mov dh, byte [eax + 1]
mov dl, byte [eax]
lea eax, [ecx + esi]
add ecx, 2
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov edi, edx
lea edx, [esp + 0x248]
push edx
mov cl, byte [eax]
add cx, word [ebx + 0x1c]
mov esi, ecx
lea ecx, [esp + 0x40]
call fcn.300e1a80
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x7e], 0x22
jne 0x300df547
push 1
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x44]
call fcn.300e1bd0
test byte [esp + 0x13], 0x10
je 0x300df58b
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x218]
cmp eax, ebp
jne 0x300df563
call fcn.300e4110
cmp eax, 8
jl 0x300df58b
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call fcn.30083dc0
lea ecx, [esp + 0x28]
call fcn.30083d50
test byte [esp + 0x13], 0x20
je 0x300df5b0
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x218]
cmp eax, ebp
jne 0x300df5a7
call fcn.300e4110
cmp eax, 8
jl 0x300df5b0
inc dword [esp + 0x40]
test byte [esp + 0x13], 8
je 0x300df6b5
mov ecx, dword [esp + 0x1c]
push edi
call fcn.300e0cd0
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x300df6b5
mov edx, ebx
and edx, 0xfffff000
mov eax, dword [edx]
mov ecx, dword [eax + 0x138]
mov eax, dword [ecx + 0x20]
push eax
call fcn.300bab90
mov edx, dword [ebx + 0x2c]
add esp, 4
mov ebp, eax
push edx
mov ecx, ebp
call fcn.300884a0
mov eax, dword [esp + 0x20]
movzx ecx, si
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x18], eax
lea edi, [ebp + 0x30]
mov ecx, 7
lea esi, [esp + 0x248]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7c]
call fcn.300ad070
lea edx, [esp + 0x7c]
push edx
mov ecx, ebp
call fcn.300d91c0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x78], 9
jne 0x300df64a
lea ecx, [ebx + 0x20]
push ecx
lea ecx, [ebp + 0x20]
call fcn.300bcc70
mov ecx, ebp
call fcn.300d9c20
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + 0x94]
call fcn.300d6c90
lea eax, [esp + 0x90]
push eax
mov ecx, eax
push ecx
lea eax, [ebp + 0x30]
push eax
call fcn.30077fc0
add esp, 0xc
lea edx, [ebp + 0x7c]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call fcn.300d9f60
mov edx, dword [esp + 0x48c]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call fcn.300db4e0
test eax, eax
mov ecx, ebp
push 1
jne 0x300df6cf
mov edx, dword [ebp]
call dword [edx]
xor ebp, ebp
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov al, byte [ecx + esi]
inc ecx
test al, al
mov byte [esp + 0x13], al
jne 0x300df4f3
jmp 0x300df6dd
mov eax, dword [esp + 0x3b0]
mov dword [eax], ebx
mov edx, dword [ebp]
call dword [edx]
mov esi, dword [ebx + 0x10]
test esi, esi
mov eax, dword [esp + 0x3ac]
mov ebp, dword [eax]
je 0x300df770
mov ecx, dword [esi + 4]
cmp word [ecx + 0x5a], 0
lea edx, [esp + 0x14]
je 0x300df72c
mov eax, dword [esp + 0x48c]
push 0
push 0
push edx
push eax
sub esp, 0xdc
lea edx, [esp + 0x258]
mov ecx, esp
push edx
call fcn.300d6c90
mov ecx, esi
call fcn.300dbd90
mov esi, eax
jmp 0x300df76c
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x494]
push eax
mov eax, dword [esp + 0x490]
push ecx
push edx
push eax
sub esp, 0xdc
lea edx, [esp + 0x258]
mov ecx, esp
push edx
call fcn.300d6c90
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.300de8c0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x300df6f1
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x300df7e3
jmp 0x300df780
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0x5a]
test ax, ax
je 0x300df7dc
mov edx, dword [esp + 0x498]
mov ecx, dword [esp + 0x48c]
push edx
push 1
movzx edi, ax
lea eax, [esp + 0x1c]
push eax
push ecx
sub esp, 0xdc
lea edx, [esp + 0x258]
mov ecx, esp
push edx
call fcn.300d6c90
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.300de8c0
lea ebx, [ebx]
mov esi, dword [esi + 0xc]
test esi, esi
je 0x300df7e3
cmp dword [esi + 0x1c], edi
jle 0x300df7d0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x300df780
mov al, byte [ebx + 0x8c]
test al, al
je 0x300df81b
mov esi, dword [esp + 0x3ac]
mov byte [ebx + 0x8c], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x300df81b
call fcn.300d1800
test eax, eax
jne 0x300df81b
mov ecx, dword [esi]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x300df819
cmp dword [eax + 0x78], 2
je 0x300df81b
mov dword [esi], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0