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

Disassembly:
sub esp, 0x184
push ebx
push ebp
push esi
push edi
mov edi, 1
mov ebp, ecx
mov ecx, dword [esp + 0x198]
push edi
push str.enabled
mov dword [esp + 0x18], ebp
call fcn.300d1620
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
mov esi, 2
mov ebx, 4
mov edx, 3
ja case.default.0x300c0e12
jmp dword [ecx*4 + 0x300c1864]
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x300c0e2c
mov dword [ebp + 0x158], esi
jmp case.default.0x300c0e12
mov dword [ebp + 0x144], esi
jmp case.default.0x300c0e12
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x300c0e47
mov dword [ebp + 0x158], edi
jmp case.default.0x300c0e12
mov dword [ebp + 0x144], edi
jmp case.default.0x300c0e12
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x300c0e62
mov dword [ebp + 0x158], edx
jmp case.default.0x300c0e12
mov dword [ebp + 0x144], edx
jmp case.default.0x300c0e12
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x300c0e7d
mov dword [ebp + 0x158], ebx
jmp case.default.0x300c0e12
mov dword [ebp + 0x144], ebx
xor ebx, ebx
cmp eax, ebx
mov al, byte [esp + 0x1a0]
je 0x300c1363
test al, al
je 0x300c0eaa
mov eax, dword [ebp + 0x158]
mov esi, dword [ebp + 0x140]
mov dword [esp + 0x1c], eax
jmp 0x300c0eba
mov ecx, dword [ebp + 0x144]
mov esi, dword [ebp + 0x154]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x198]
call fcn.300d1910
cmp eax, 9
jl case.default.0x300c0f02
cmp dword [esp + 0x198], esi
jne case.default.0x300c0f02
mov al, byte [esp + 0x1a0]
test al, al
je 0x300c0ee7
mov eax, dword [ebp + 0x144]
jmp 0x300c0eed
mov eax, dword [ebp + 0x158]
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
ja case.default.0x300c0f02
mov edx, ecx
movzx ecx, byte [edx + 0x300c1894]
jmp dword [ecx*4 + 0x300c1888]
cmp eax, 3
jne 0x300c0f2f
jmp case.0x300c0f02.0
cmp eax, 3
je case.0x300c0f02.0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x19c], 3
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.300d1800
test eax, eax
jne 0x300c134e
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 2
mov dword [esp + 0x14], ecx
jne 0x300c134e
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x1c]
shr eax, 0xd
and eax, 7
cmp eax, edx
mov dword [esp + 0x48], eax
je 0x300c134e
mov eax, dword [ecx + 0x68]
mov dl, byte [eax + 0x642]
test dl, dl
mov dword [esp + 0x4c], eax
je 0x300c103a
mov ecx, esi
call fcn.300d0470
mov esi, eax
cmp esi, ebx
je 0x300c1347
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x300c0fab
mov ecx, edi
call fcn.300ddea0
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x300c0fce
mov edi, eax
lea ecx, [ecx]
push 1
push 0
mov ecx, esi
call fcn.30166e80
dec edi
jne 0x300c0fc0
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, 3
ja case.0x300c0fd8.1
jmp dword [eax*4 + 0x300c18a0]
mov edi, dword [esi + 0x6c]
jmp 0x300c0fec
mov edi, dword [esi + 0x70]
jmp 0x300c0fec
mov edi, dword [esi + 0x68]
test edi, edi
je 0x300c1323
push edi
mov ecx, esi
call fcn.301a2210
mov ecx, dword [ebx + 0x1b5c]
mov eax, dword [ecx + 0x2c4]
test eax, eax
jne 0x300c1018
push 0xb1
mov ecx, ebx
call fcn.3018a8f0
mov edx, edi
push eax
or edx, 1
push edx
mov ecx, ebx
call fcn.301c29a7
test al, al
je 0x300c1323
mov ecx, edi
call fcn.3016a7c0
jmp 0x300c1323
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
jmp 0x300c1050
xor ebx, ebx
lea esp, [esp]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
push ecx
push ebx
mov edi, SysReAllocString
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x4c], 0
call fcn.300dfc60
cmp byte [esi + 0x7e], 0x22
jne 0x300c109b
add dword [esp + 0x24], 2
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], 0
je 0x300c10d7
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.300dfc60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
je 0x300c130d
lea ecx, [esp + 0x74]
call fcn.300453e0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x150], 0xe
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
xor eax, eax
mov ah, byte [ecx + 1]
mov ebp, edx
lea edx, [esp + 0x74]
push edx
mov al, byte [ecx]
mov ecx, dword [esp + 0x19c]
mov edi, dword [ecx + 0x1c]
lea ecx, [esp + 0x24]
add eax, edi
mov dword [esp + 0x160], eax
call fcn.300e1a80
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7e], 0x22
jne 0x300c1173
push 1
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.300e1bd0
xor edi, edi
jmp 0x300c119d
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x300c1191
push edi
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x58]
call fcn.300e1bd0
jmp 0x300c119d
lea ecx, [esp + 0x90]
call fcn.300ad070
test bl, 0x10
je 0x300c11fd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x218]
cmp eax, edi
jne 0x300c11b8
call fcn.300e4110
cmp eax, 8
jl 0x300c11fd
mov eax, dword [esp + 0x150]
or eax, 0x100
push 0xc
mov dword [esp + 0x154], eax
call fcn.3007a1f0
add esp, 4
cmp eax, edi
je 0x300c11e8
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x300c11ea
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.30083dc0
test bl, 0x20
je 0x300c1236
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x218]
cmp eax, edi
jne 0x300c1218
call fcn.300e4110
cmp eax, 8
jl 0x300c1236
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
inc eax
mov byte [esp + 0x181], dl
mov dword [esp + 0x24], eax
jmp 0x300c123e
mov byte [esp + 0x181], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
movzx eax, byte [eax + 0x3029af20]
movzx ecx, byte [ecx + 0x3029af20]
movzx edx, bl
and eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, edi
jne 0x300c1286
cmp eax, edi
jne 0x300c12be
cmp ecx, edi
je 0x300c12be
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.300c0180
jmp 0x300c12be
cmp edx, 1
jne 0x300c12be
cmp eax, edi
je 0x300c12be
cmp ecx, edi
jne 0x300c12be
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.300e0cd0
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x300c12be
mov edx, dword [esp + 0x198]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.300be840
mov eax, dword [esp + 0x150]
test ah, 1
je 0x300c12ec
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x300c12e5
call fcn.30083d50
push esi
call fcn.30208320
add esp, 4
mov dword [esp + 0x184], edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x168], edi
mov al, byte [ecx + eax]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
jne 0x300c10f1
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x300c1047
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x198]
movzx ecx, byte [esp + 0x1c]
mov edx, dword [eax + 0x54]
shl ecx, 0xd
and edx, 0xffff1fff
or ecx, edx
mov dword [eax + 0x54], ecx
xor ebx, ebx
mov edi, 1
mov esi, dword [esp + 0x198]
mov eax, dword [esp + 0x19c]
push eax
push esi
mov ecx, ebp
call fcn.300bf840
jmp case.0x300c0f02.0
test al, al
je 0x300c136f
mov dword [ebp + 0x158], edi
jmp 0x300c1375
mov dword [ebp + 0x144], edi
mov ecx, dword [esp + 0x198]
call fcn.300d1800
test eax, eax
jne case.0x300c0f02.0
mov eax, dword [esp + 0x198]
mov ebp, dword [eax + 0x18]
cmp dword [ebp + 0x78], 2
mov dword [esp + 0x14], ebp
jne case.0x300c0f02.0
mov eax, dword [eax + 0x54]
shr eax, 0xd
and eax, 7
cmp eax, edi
mov dword [esp + 0x4c], eax
je case.0x300c0f02.0
mov eax, dword [ebp + 0x68]
mov cl, byte [eax + 0x642]
test cl, cl
mov dword [esp + 0x48], eax
je 0x300c1463
mov ecx, dword [esp + 0x198]
call fcn.300d0470
mov esi, eax
cmp esi, ebx
je case.0x300c0f02.0
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x300c13f3
mov ecx, edi
call fcn.300ddea0
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x28]
cmp eax, ebx
mov edx, dword [ecx + 0x18]
mov ebp, dword [edx + 0x10]
jle 0x300c1412
mov edi, eax
push 1
push ebx
mov ecx, esi
call fcn.30166e80
dec edi
jne 0x300c1405
mov edi, dword [esi + 0x68]
cmp edi, ebx
je 0x300c172c
push edi
mov ecx, esi
call fcn.301a2210
mov eax, dword [ebp + 0x1b5c]
mov eax, dword [eax + 0x2c4]
test eax, eax
jne 0x300c1441
push 0xb1
mov ecx, ebp
call fcn.3018a8f0
mov ecx, edi
or ecx, 1
push eax
push ecx
mov ecx, ebp
call fcn.301c29a7
test al, al
je 0x300c172c
mov ecx, edi
call fcn.3016a7c0
jmp 0x300c172c
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ebx
jmp 0x300c1478
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
xor esi, esi
push edx
push esi
mov ebx, SysReAllocString
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x4c], 0
call fcn.300dfc60
cmp byte [ebp + 0x7e], 0x22
jne 0x300c14c1
add dword [esp + 0x24], 2
cmp edi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x70], 0
je 0x300c14f9
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.300dfc60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
je 0x300c171a
lea ecx, [esp + 0x74]
call fcn.300453e0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x150], 0xe
xor edx, edx
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
lea ecx, [eax + esi]
mov esi, dword [esp + 0x198]
mov edi, dword [esi + 0x1c]
add eax, 2
mov dword [esp + 0x24], eax
xor eax, eax
mov ah, byte [ecx + 1]
mov ebp, edx
mov al, byte [ecx]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x24]
add eax, edi
mov dword [esp + 0x160], eax
call fcn.300e1a80
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x7e], 0x22
jne 0x300c1595
push 1
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x28]
call fcn.300e1bd0
xor edi, edi
jmp 0x300c15bf
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x300c15b3
push edi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x58]
call fcn.300e1bd0
jmp 0x300c15bf
lea ecx, [esp + 0x90]
call fcn.300ad070
test bl, 0x10
je 0x300c1620
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x218]
cmp eax, edi
jne 0x300c15da
call fcn.300e4110
cmp eax, 8
jl 0x300c1620
mov ecx, dword [esp + 0x150]
or ecx, 0x100
push 0xc
mov dword [esp + 0x154], ecx
call fcn.3007a1f0
add esp, 4
cmp eax, edi
je 0x300c160b
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x300c160d
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.30083dc0
test bl, 0x20
je 0x300c1659
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x218]
cmp eax, edi
jne 0x300c163b
call fcn.300e4110
cmp eax, 8
jl 0x300c1659
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
inc eax
mov byte [esp + 0x181], dl
mov dword [esp + 0x24], eax
jmp 0x300c1661
mov byte [esp + 0x181], 1
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + 0x3029af20]
movzx edx, bl
mov eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
and eax, 1
cmp edx, edi
jne 0x300c169a
cmp eax, edi
jne 0x300c16cb
cmp ecx, edi
je 0x300c16cb
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x10]
push edx
push esi
call fcn.300c0180
jmp 0x300c16cb
cmp edx, 1
jne 0x300c16cb
cmp eax, edi
je 0x300c16cb
cmp ecx, edi
jne 0x300c16cb
mov ecx, dword [esp + 0x48]
push ebp
call fcn.300e0cd0
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x300c16cb
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push esi
call fcn.300be840
mov eax, dword [esp + 0x150]
test ah, 1
je 0x300c16f9
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x300c16f2
call fcn.30083d50
push esi
call fcn.30208320
add esp, 4
mov dword [esp + 0x184], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x168], edi
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
jne 0x300c1513
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x300c1470
mov eax, dword [esp + 0x198]
mov ecx, dword [eax + 0x54]
and ecx, 0xffff3fff
or ecx, 0x2000
mov dword [eax + 0x54], ecx
xor ebx, ebx
mov edi, 1
mov al, byte [esp + 0x1a0]
test al, al
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x198]
je 0x300c17c2
cmp dword [ecx + 0x158], edi
jne 0x300c178f
mov dword [ecx + 0x154], ebx
mov dword [ecx + 0x15c], ebx
mov dword [ecx + 0x160], ebx
mov word [ecx + 0x164], bx
mov word [ecx + 0x166], bx
jmp 0x300c181d
mov dword [ecx + 0x154], esi
mov edx, dword [esi + 8]
mov dword [ecx + 0x15c], edx
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x160], eax
mov dx, word [esi + 0x1c]
mov word [ecx + 0x164], dx
mov eax, dword [esi + 4]
mov dx, word [eax + 0x5e]
mov word [ecx + 0x166], dx
jmp 0x300c181d
cmp dword [ecx + 0x144], edi
jne 0x300c17ec
mov dword [ecx + 0x140], ebx
mov dword [ecx + 0x148], ebx
mov dword [ecx + 0x14c], ebx
mov word [ecx + 0x150], bx
mov word [ecx + 0x152], bx
jmp 0x300c181d
mov dword [ecx + 0x140], esi
mov eax, dword [esi + 8]
mov dword [ecx + 0x148], eax
mov edx, dword [esi + 0x18]
mov dword [ecx + 0x14c], edx
mov ax, word [esi + 0x1c]
mov word [ecx + 0x150], ax
mov edx, dword [esi + 4]
mov ax, word [edx + 0x5e]
mov word [ecx + 0x152], ax
mov al, byte [esp + 0x1a0]
xor edx, edx
test al, al
je 0x300c1832
mov eax, dword [ecx + 0x158]
jmp 0x300c1838
mov eax, dword [ecx + 0x144]
cmp eax, 3
je 0x300c1842
cmp eax, 4
jne 0x300c1844
mov edx, edi
mov ecx, dword [ecx + 0x3e4]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x184
ret 0xc