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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x4a872c]
push ebx
push esi
push edi
mov dword [esp + 0x1bc], eax
mov eax, dword [ebp + 8]
push 1
push eax
mov dword [esp + 0x14], ecx
mov dword [ecx + 0x15998], 0
call fcn.00438090
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
jne 0x4308f4
mov ecx, dword [esp + 0x1bc]
call fcn.00460704
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [eax], 0x4c564c
jne 0x431050
mov edi, dword [esp + 0x18]
movzx edx, byte [edi + 0xa]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x6914], edx
movzx eax, byte [edi + 9]
mov dword [ecx + 0x6918], eax
mov edx, dword [edi + 8]
and edx, 0xff
mov dword [ecx + 0x691c], edx
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x6290], eax
movzx edx, word [edi + 0x44]
mov dword [ecx + 0x15d3c], edx
lea eax, [edi + 0x18]
sub ecx, eax
lea edx, [ecx + 0x61d8]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x430950
lea eax, [edi + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
xor ebx, ebx
test eax, eax
jbe 0x4309be
mov esi, dword [esp + 0x10]
add esi, 8
mov ecx, dword [esi - 8]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
mov ecx, dword [esi - 4]
push edx
push eax
push ecx
call fcn.00432470
add esp, 0x10
test eax, eax
je 0x4309a8
mov edx, dword [0x1cf9db0]
imul eax, eax, 0x34
mov ecx, dword [esi + 8]
lea eax, [eax + edx + 0x6294]
mov dword [eax + 0x24], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x28], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
inc ebx
add ecx, 0x18
add esi, 0x18
cmp ebx, eax
mov dword [esp + 0x10], ecx
jb 0x430971
mov eax, dword [0x156ac14]
test eax, eax
je 0x430b29
mov esi, 0x1d05144
mov ebx, 5
mov eax, dword [esi - 0x14]
test eax, eax
je 0x430b1a
mov ecx, dword [esp + 0xc]
mov eax, dword [esi - 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x430b1a
mov edx, dword [esi - 8]
mov eax, ecx
cmp edx, dword [eax + 0x14]
jne 0x430b1a
mov ecx, dword [esi]
mov edx, dword [esi - 4]
push 0xffffff
push 0x64
add ecx, 0x14
push ecx
add edx, 0x14
push edx
call fcn.00432470
add esp, 0x10
test eax, eax
je 0x430a38
mov ecx, dword [0x1cf9db0]
imul eax, eax, 0x34
lea eax, [eax + ecx + 0x6294]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 0xffffff
mov edx, dword [esi]
mov eax, dword [esi - 4]
push 0xff0000
push 0x64
sub edx, 0x14
push edx
push eax
call fcn.00432470
add esp, 0x10
test eax, eax
je 0x430a6f
mov ecx, dword [0x1cf9db0]
imul eax, eax, 0x34
lea eax, [eax + ecx + 0x6294]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 0xff0000
mov edx, dword [esi]
mov eax, dword [esi - 4]
push 0xff00
push 0x64
sub edx, 0x14
push edx
add eax, 0x28
push eax
call fcn.00432470
add esp, 0x10
test eax, eax
je 0x430aa9
mov ecx, dword [0x1cf9db0]
imul eax, eax, 0x34
lea eax, [eax + ecx + 0x6294]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 0xff00
mov edx, dword [esi]
mov eax, dword [esi - 4]
push 0xff
push 0x64
add edx, 0x3c
push edx
add eax, 0x28
push eax
call fcn.00432470
add esp, 0x10
test eax, eax
je 0x430ae3
mov ecx, dword [0x1cf9db0]
imul eax, eax, 0x34
lea eax, [eax + ecx + 0x6294]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 0xff
mov edx, dword [esi]
mov eax, dword [esi - 4]
push 0xffff00
push 0x64
add edx, 0x3c
push edx
push eax
call fcn.00432470
add esp, 0x10
test eax, eax
je 0x430b1a
mov ecx, dword [0x1cf9db0]
imul eax, eax, 0x34
lea eax, [eax + ecx + 0x6294]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 0xffff00
add esi, 0x2c
cmp esi, 0x1d06744
jl 0x4309d5
mov eax, dword [esp + 0xc]
mov edx, dword [0x1cf9db0]
mov dword [0x1cf9db0], eax
mov eax, dword [edi + 0x14]
test eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], 0
jbe 0x430df2
mov edi, dword [esp + 0x10]
add edi, 0x28
mov edi, edi
mov ecx, dword [edi - 4]
mov edx, dword [edi - 8]
lea ebx, [edi - 0x28]
push ebx
push ecx
push edx
call fcn.00428fe0
push ebx
mov esi, eax
call fcn.004283e0
mov ebx, eax
imul ebx, ebx, 0x68
add ebx, 0x156b418
add esp, 0x10
test esi, esi
mov dword [esp + 0x2c], ebx
je 0x430dca
test ebx, ebx
je 0x430dca
mov edx, dword [esp + 0x28]
inc edx
push 0x156ab38
push esi
mov dword [esp + 0x30], edx
call fcn.00460712
add esp, 8
test eax, eax
jne 0x430be0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x156aba4]
mov dword [edx*4 + 0x156aba8], ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [0x156aba4]
mov dword [ecx*4 + 0x156abc8], eax
inc dword [0x156aba4]
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x430ca5
mov eax, dword [esi + 0x38]
test ah, 2
jne 0x430ca5
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
sub ecx, 0x10
sub eax, 0x10
test ecx, ecx
mov dword [esp + 0x20], eax
jle 0x430ca5
test eax, eax
jle 0x430ca5
mov eax, dword [esi + 0x20]
lea ebx, [ecx + eax]
add eax, 8
mov dword [esp + 0x14], eax
call fcn.0046001a
mov ecx, dword [esp + 0x14]
cdq
sub ebx, ecx
idiv ebx
mov eax, dword [esi + 0x24]
mov ebx, edx
mov edx, dword [esp + 0x20]
add edx, eax
add eax, 8
add ebx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
call fcn.0046001a
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x14]
cdq
idiv ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [0x1cfbbb8]
add edx, ecx
mov dword [esp + 0x20], edx
xor edx, edx
mov ecx, 5
div ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx*4 + 0x4a1600]
push edx
push eax
push ebx
call fcn.0042f1e0
mov ecx, dword [0x1cfbbb8]
mov eax, dword [0x12e7d48]
mov ebx, dword [esp + 0x2c]
inc ecx
inc eax
mov dword [0x1cfbbb8], ecx
mov dword [0x12e7d48], eax
mov ecx, dword [edi]
mov eax, dword [esi + 0x38]
shl ecx, 0x19
sar ecx, 0x16
xor ecx, eax
and ecx, 0x200
xor eax, ecx
mov dword [esi + 0x38], eax
mov ecx, eax
mov eax, dword [edi]
shl eax, 0x1a
sar eax, 0x17
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [esi + 0x38], eax
mov ecx, dword [edi]
shl ecx, 0x1b
sar ecx, 0x18
xor ecx, eax
and ecx, 0x80
xor ecx, eax
mov dword [esi + 0x38], ecx
mov eax, dword [edi]
shl eax, 0x1f
sar eax, 0x1d
xor eax, ecx
and eax, 4
xor eax, ecx
mov dword [esi + 0x38], eax
mov ecx, dword [edi]
shl ecx, 0x1d
sar ecx, 0x1b
xor ecx, eax
and ecx, 0x10
xor ecx, eax
mov dword [esi + 0x38], ecx
mov eax, dword [edi]
shl eax, 0x1e
sar eax, 0x1c
xor eax, ecx
and eax, 8
xor eax, ecx
mov dword [esi + 0x38], eax
mov edx, dword [edi]
shl edx, 0x1c
sar edx, 0x19
xor edx, eax
and edx, 0x40
xor edx, eax
mov dword [esi + 0x38], edx
mov ax, word [ebx + 0x54]
mov word [esi + 0x32], ax
mov ax, word [edi + 4]
test ax, ax
mov word [esi + 0x30], ax
jne 0x430d4d
mov cx, word [ebx + 0x58]
mov word [esi + 0x30], cx
mov eax, dword [esi + 0x38]
test ah, 1
je 0x430d66
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
push 1
push esi
push edx
call fcn.0042d310
mov eax, dword [esi + 0x38]
test ah, 2
je 0x430dca
mov edx, dword [esp + 0xc]
xor eax, eax
lea ecx, [edx + 0x5ddc]
lea ebx, [ebx]
cmp dword [ecx], 0
je 0x430d90
inc eax
add ecx, 0x20
cmp eax, 0x20
jl 0x430d80
jmp 0x430dca
shl eax, 5
lea eax, [eax + edx + 0x5dd8]
mov dword [eax + 4], 2
mov ecx, dword [esi + 0x20]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x24]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], edx
and dword [esi + 0x38], 0xfffffff3
mov dword [eax], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, 0x3c
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x14]
inc eax
add edi, 0x3c
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x430b60
mov edi, edx
mov eax, dword [esp + 0x1c]
mov dword [0x1cf9db0], eax
mov eax, dword [edi + 0x10]
xor ebx, ebx
test eax, eax
jbe 0x430e8d
mov esi, dword [esp + 0x10]
add esi, 6
nop
movzx ecx, byte [esi - 5]
movzx edx, byte [esi - 6]
movsx eax, word [esi - 2]
push ecx
movsx ecx, word [esi - 4]
push edx
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push ecx
push edx
push eax
call fcn.004046b0
add esp, 0x18
test eax, eax
je 0x430e77
xor ecx, ecx
mov cl, byte [esi + 2]
and ecx, 1
mov dword [eax + 0x338], ecx
movzx edx, word [esi]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fstp dword [eax + 0x7c]
movzx ecx, word [esi]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fstp dword [eax + 0x80]
movsx edx, word [esi - 4]
mov dword [eax + 0x54], edx
movsx ecx, word [esi - 2]
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x10]
inc ebx
add ecx, 0xa
add esi, 0xa
cmp ebx, eax
mov dword [esp + 0x10], ecx
jb 0x430e10
mov eax, dword [edi + 0x38]
test eax, eax
mov dword [esp + 0x24], 0
jbe 0x430f50
mov esi, dword [esp + 0x10]
add esi, 0x16
movsx edx, word [esi + 2]
lea edi, [esi - 0x16]
push edi
mov dword [esp + 0x18], edx
call fcn.0042c350
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x430f1f
mov eax, dword [esp + 0x14]
movsx ecx, word [esi]
movsx edx, word [esi - 2]
push 0x5265c00
push eax
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.0042f0a0
mov edi, eax
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x430f1f
push str.ADD_EPISODE_KEY
add ebx, 0x1ce38
push ebx
call fcn.00460712
add esp, 8
test eax, eax
je 0x430f1f
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x15998]
mov ecx, dword [esp + 0x14]
add edx, ecx
test edi, edi
mov dword [eax + 0x15998], edx
je 0x430f1f
inc dword [0x12e7d40]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, 0x1a
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x38]
inc eax
add esi, 0x1a
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x430ea7
jmp 0x430f50
mov ebx, dword [esp + 0xc]
xor eax, eax
add ebx, 0x6998
mov dword [esp + 0x14], 0xff
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x84]
jle 0x430fa5
lea ecx, [esp + 0x40]
call fcn.0042c3f0
lea eax, [ebx + 0x78]
mov ecx, 0x1e
mov esi, ebx
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov esi, eax
mov ecx, 0x1e
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov ecx, 0x1e
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
mov ecx, dword [esp + 0x14]
add ebx, 0x78
dec ecx
mov dword [esp + 0x14], ecx
jne 0x430f64
test eax, eax
jne 0x430f50
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x3c]
mov edi, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jbe 0x431005
lea esi, [edi + 0x46]
jmp 0x430fd0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
movzx edx, word [esi - 2]
push eax
movsx eax, word [esi - 4]
push ecx
movsx ecx, word [esi - 6]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esi - 0x46]
push edx
call fcn.0042d5b0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
inc ebx
add esi, 0x4e
add edi, 0x4e
cmp ebx, ecx
jb 0x430fd0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x40]
xor ebx, ebx
test eax, eax
jbe 0x431050
mov esi, dword [esp + 0xc]
add esi, 0x15d1c
lea esp, [esp]
mov edx, dword [edi]
xor eax, eax
mov ecx, esi
cmp dword [ecx], 0
je 0x431036
inc eax
add ecx, 4
cmp eax, 8
jl 0x431026
jmp 0x431041
mov ecx, dword [esp + 0xc]
mov dword [ecx + eax*4 + 0x15d1c], edx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x40]
inc ebx
add edi, 4
cmp ebx, eax
jb 0x431020
mov eax, dword [esp + 0x18]
push eax
call fcn.00438020
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0xc0]
push str._s.txt
push edx
call fcn.00460b10
lea eax, [esp + 0xc8]
push 1
push eax
call fcn.00438090
add esp, 0x18
test eax, eax
mov dword [esp + 0x1c], eax
je 0x431185
push 0
push eax
push str.MESSAGE
call fcn.00433390
mov ebx, dword [esp + 0x18]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4310d1
push esi
call fcn.00433280
add esp, 4
push esi
mov ecx, ebx
mov edi, eax
call fcn.00430150
push 0
push edi
push str.MESSAGE
call fcn.00433390
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4310a8
mov edx, dword [0x130f1b0]
lea edi, [ebx + 0x692c]
mov dword [esp + 0x14], 5
mov eax, dword [edi - 0xc]
test eax, eax
je 0x431166
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, dword [0x130f1ac]
test esi, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
je 0x43114e
mov ecx, dword [0x130f1b4]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 4
sar ecx, 4
cmp eax, ecx
jae 0x43114e
mov ecx, dword [esp + 0x1c]
push ecx
push 0x130f1a8
lea eax, [esp + 0x38]
push eax
push 1
push edx
mov esi, edx
call fcn.004305c0
lea edx, [esi + 0x10]
add esp, 0x14
mov dword [0x130f1b0], edx
jmp 0x431166
lea ecx, [esp + 0x30]
push ecx
push 1
push edx
mov ecx, 0x130f1a8
call fcn.00430630
mov edx, dword [0x130f1b0]
mov eax, dword [esp + 0x14]
add edi, 0x18
dec eax
mov dword [esp + 0x14], eax
jne 0x4310e5
mov edx, dword [esp + 0x1c]
push edx
call fcn.00438020
add esp, 4
mov ecx, dword [esp + 0x1bc]
mov eax, 1
call fcn.00460704
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8