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

Disassembly:
sub esp, 0x184
push ebx
push ebp
push esi
push edi
mov edi, 1
mov esi, ecx
mov ecx, dword [esp + 0x198]
push edi
push str.enabled
mov dword [esp + 0x18], esi
call fcn.0048dd50
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
mov ebp, 3
ja case.default.0x47d11c
jmp dword [ecx*4 + 0x47db5c]
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d13a
mov dword [esi + 0x154], 2
jmp case.default.0x47d11c
mov dword [esi + 0x140], 2
jmp case.default.0x47d11c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d159
mov dword [esi + 0x154], edi
jmp case.default.0x47d11c
mov dword [esi + 0x140], edi
jmp case.default.0x47d11c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d174
mov dword [esi + 0x154], ebp
jmp case.default.0x47d11c
mov dword [esi + 0x140], ebp
jmp case.default.0x47d11c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d193
mov dword [esi + 0x154], 4
jmp case.default.0x47d11c
mov dword [esi + 0x140], 4
xor ebx, ebx
cmp eax, ebx
mov al, byte [esp + 0x1a0]
je 0x47d671
test al, al
mov eax, dword [esp + 0x10]
je 0x47d1c8
mov esi, dword [eax + 0x13c]
mov eax, dword [eax + 0x154]
mov dword [esp + 0x1c], eax
jmp 0x47d1d8
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x150]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x198]
call fcn.0048e040
cmp eax, 9
jl case.default.0x47d226
cmp dword [esp + 0x198], esi
jne case.default.0x47d226
mov al, byte [esp + 0x1a0]
test al, al
je 0x47d209
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x140]
jmp 0x47d213
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x154]
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
ja case.default.0x47d226
movzx ecx, byte [ecx + 0x47db8c]
jmp dword [ecx*4 + 0x47db80]
cmp eax, ebp
jne case.default.0x47d226
jmp case.0x47d226.0
cmp eax, ebp
je case.0x47d226.0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x19c], ebp
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.0048df30
test eax, eax
jne 0x47d65a
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 2
mov dword [esp + 0x14], ecx
jne 0x47d65a
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 0x47d65a
mov eax, dword [ecx + 0x68]
mov dl, byte [eax + 0x5ee]
test dl, dl
mov dword [esp + 0x4c], eax
je 0x47d350
mov ecx, esi
call fcn.0048cb70
mov esi, eax
cmp esi, ebx
je 0x47d653
mov edi, dword [esi + 0x38]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x47d2c5
mov ecx, edi
call fcn.0049a520
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x47d2e5
mov edi, eax
push 1
push 0
mov ecx, esi
call fcn.0052fda0
dec edi
jne 0x47d2d7
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, ebp
ja case.0x47d2ee.1
jmp dword [eax*4 + 0x47db98]
mov edi, dword [esi + 0x58]
jmp 0x47d302
mov edi, dword [esi + 0x5c]
jmp 0x47d302
mov edi, dword [esi + 0x54]
test edi, edi
je 0x47d62f
push edi
mov ecx, esi
call fcn.00567e10
mov ecx, dword [ebx + 0x65c]
mov eax, dword [ecx + 0x2b0]
test eax, eax
jne 0x47d32e
push 0xac
mov ecx, ebx
call fcn.00551e90
mov edx, edi
push eax
or edx, 1
push edx
mov ecx, ebx
call fcn.00598750
test al, al
je 0x47d62f
mov ecx, edi
call fcn.00533730
jmp 0x47d62f
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
jmp 0x47d360
xor ebx, ebx
nop
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
push ecx
push ebx
mov edi, 0x7fffffff
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.0049c9d0
cmp byte [esi + 0x7e], 0x22
jne 0x47d3ab
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 0x47d3e7
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.0049c9d0
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 0x47d61d
lea ecx, [esp + 0x74]
call fcn.0040dde0
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.0049e5f0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7e], 0x22
jne 0x47d483
push 1
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.0049e740
xor edi, edi
jmp 0x47d4ad
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x47d4a1
push edi
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x58]
call fcn.0049e740
jmp 0x47d4ad
lea ecx, [esp + 0x90]
call fcn.0046baf0
test bl, 0x10
je 0x47d50d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47d4c8
call fcn.004a0d20
cmp eax, 8
jl 0x47d50d
mov eax, dword [esp + 0x150]
or eax, 0x100
push 0xc
mov dword [esp + 0x154], eax
call fcn.005dd330
add esp, 4
cmp eax, edi
je 0x47d4f8
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x47d4fa
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00448e30
test bl, 0x20
je 0x47d546
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47d528
call fcn.004a0d20
cmp eax, 8
jl 0x47d546
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 0x47d54e
mov byte [esp + 0x181], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
movzx eax, byte [eax + 0x5faad0]
movzx ecx, byte [ecx + 0x5faad0]
movzx edx, bl
and eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, edi
jne 0x47d596
cmp eax, edi
jne 0x47d5ce
cmp ecx, edi
je 0x47d5ce
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.0047bfc0
jmp 0x47d5ce
cmp edx, 1
jne 0x47d5ce
cmp eax, edi
je 0x47d5ce
cmp ecx, edi
jne 0x47d5ce
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.0049d9e0
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x47d5ce
mov edx, dword [esp + 0x198]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.0047ad50
mov eax, dword [esp + 0x150]
test ah, 1
je 0x47d5fc
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x47d5f5
call fcn.00448dc0
push esi
call fcn.005dd350
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 0x47d401
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x47d35d
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]
mov ecx, dword [esp + 0x10]
push eax
push esi
call fcn.0047cbd0
jmp case.0x47d226.0
test al, al
je 0x47d67d
mov dword [esi + 0x154], edi
jmp 0x47d683
mov dword [esi + 0x140], edi
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.0048df30
test eax, eax
jne case.0x47d226.0
mov ebp, dword [esi + 0x18]
cmp dword [ebp + 0x78], 2
mov dword [esp + 0x14], ebp
jne case.0x47d226.0
mov esi, dword [esi + 0x54]
shr esi, 0xd
and esi, 7
cmp esi, edi
mov dword [esp + 0x4c], esi
je case.0x47d226.0
mov eax, dword [ebp + 0x68]
mov cl, byte [eax + 0x5ee]
test cl, cl
mov dword [esp + 0x48], eax
je 0x47d76e
mov ecx, dword [esp + 0x198]
call fcn.0048cb70
mov esi, eax
cmp esi, ebx
je case.0x47d226.0
mov edi, dword [esi + 0x38]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x47d6fc
mov ecx, edi
call fcn.0049a520
mov ecx, dword [esi + 8]
mov eax, dword [edi + 0x28]
cmp eax, ebx
mov edx, dword [ecx + 0x18]
mov ebp, dword [edx + 0x10]
jle 0x47d71d
mov edi, eax
mov edi, edi
push 1
push ebx
mov ecx, esi
call fcn.0052fda0
dec edi
jne 0x47d710
mov edi, dword [esi + 0x54]
cmp edi, ebx
je 0x47da39
push edi
mov ecx, esi
call fcn.00567e10
mov eax, dword [ebp + 0x65c]
mov eax, dword [eax + 0x2b0]
test eax, eax
jne 0x47d74c
push 0xac
mov ecx, ebp
call fcn.00551e90
mov ecx, edi
or ecx, 1
push eax
push ecx
mov ecx, ebp
call fcn.00598750
test al, al
je 0x47da39
mov ecx, edi
call fcn.00533730
jmp 0x47da39
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ebx
jmp 0x47d783
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x14]
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
xor esi, esi
push edx
push esi
mov ebx, 0x7fffffff
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.0049c9d0
cmp byte [ebp + 0x7e], 0x22
jne 0x47d7cc
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 0x47d804
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0049c9d0
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 0x47da27
mov edi, edi
lea ecx, [esp + 0x74]
call fcn.0040dde0
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.0049e5f0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x7e], 0x22
jne 0x47d8a2
push 1
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x28]
call fcn.0049e740
xor edi, edi
jmp 0x47d8cc
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x47d8c0
push edi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x58]
call fcn.0049e740
jmp 0x47d8cc
lea ecx, [esp + 0x90]
call fcn.0046baf0
test bl, 0x10
je 0x47d92d
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47d8e7
call fcn.004a0d20
cmp eax, 8
jl 0x47d92d
mov ecx, dword [esp + 0x150]
or ecx, 0x100
push 0xc
mov dword [esp + 0x154], ecx
call fcn.005dd330
add esp, 4
cmp eax, edi
je 0x47d918
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x47d91a
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00448e30
test bl, 0x20
je 0x47d966
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47d948
call fcn.004a0d20
cmp eax, 8
jl 0x47d966
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 0x47d96e
mov byte [esp + 0x181], 1
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + 0x5faad0]
movzx edx, bl
mov eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
and eax, 1
cmp edx, edi
jne 0x47d9a7
cmp eax, edi
jne 0x47d9d8
cmp ecx, edi
je 0x47d9d8
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x10]
push edx
push esi
call fcn.0047bfc0
jmp 0x47d9d8
cmp edx, 1
jne 0x47d9d8
cmp eax, edi
je 0x47d9d8
cmp ecx, edi
jne 0x47d9d8
mov ecx, dword [esp + 0x48]
push ebp
call fcn.0049d9e0
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x47d9d8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push esi
call fcn.0047ad50
mov eax, dword [esp + 0x150]
test ah, 1
je 0x47da06
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x47d9ff
call fcn.00448dc0
push esi
call fcn.005dd350
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 0x47d820
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x47d77b
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 eax, dword [esp + 0x10]
je 0x47dae2
cmp dword [eax + 0x154], edi
jne 0x47da9d
pop edi
pop esi
pop ebp
mov dword [eax + 0x150], ebx
mov dword [eax + 0x158], ebx
mov dword [eax + 0x15c], ebx
mov word [eax + 0x160], bx
mov word [eax + 0x162], bx
pop ebx
add esp, 0x184
ret 0xc
mov ecx, dword [esp + 0x198]
mov dword [eax + 0x150], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 0x158], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x15c], edx
mov dx, word [ecx + 0x1c]
pop edi
mov word [eax + 0x160], dx
mov ecx, dword [ecx + 4]
mov dx, word [ecx + 0x5a]
pop esi
pop ebp
mov word [eax + 0x162], dx
pop ebx
add esp, 0x184
ret 0xc
cmp dword [eax + 0x140], edi
jne 0x47db17
pop edi
pop esi
pop ebp
mov dword [eax + 0x13c], ebx
mov dword [eax + 0x144], ebx
mov dword [eax + 0x148], ebx
mov word [eax + 0x14c], bx
mov word [eax + 0x14e], bx
pop ebx
add esp, 0x184
ret 0xc
mov ecx, dword [esp + 0x198]
mov dword [eax + 0x13c], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 0x144], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x148], edx
mov dx, word [ecx + 0x1c]
pop edi
mov word [eax + 0x14c], dx
mov ecx, dword [ecx + 4]
mov dx, word [ecx + 0x5a]
pop esi
pop ebp
mov word [eax + 0x14e], dx
pop ebx
add esp, 0x184
ret 0xc