Function at 0x47d3f0
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.0048e030
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
mov ebp, 3
ja case.default.0x47d42c
jmp dword [ecx*4 + 0x47de6c]
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d44a
mov dword [esi + 0x154], 2
jmp case.default.0x47d42c
mov dword [esi + 0x140], 2
jmp case.default.0x47d42c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d469
mov dword [esi + 0x154], edi
jmp case.default.0x47d42c
mov dword [esi + 0x140], edi
jmp case.default.0x47d42c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d484
mov dword [esi + 0x154], ebp
jmp case.default.0x47d42c
mov dword [esi + 0x140], ebp
jmp case.default.0x47d42c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x47d4a3
mov dword [esi + 0x154], 4
jmp case.default.0x47d42c
mov dword [esi + 0x140], 4
xor ebx, ebx
cmp eax, ebx
mov al, byte [esp + 0x1a0]
je 0x47d981
test al, al
mov eax, dword [esp + 0x10]
je 0x47d4d8
mov esi, dword [eax + 0x13c]
mov eax, dword [eax + 0x154]
mov dword [esp + 0x1c], eax
jmp 0x47d4e8
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x150]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x198]
call fcn.0048e320
cmp eax, 9
jl case.default.0x47d536
cmp dword [esp + 0x198], esi
jne case.default.0x47d536
mov al, byte [esp + 0x1a0]
test al, al
je 0x47d519
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x140]
jmp 0x47d523
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x154]
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
ja case.default.0x47d536
movzx ecx, byte [ecx + 0x47de9c]
jmp dword [ecx*4 + 0x47de90]
cmp eax, ebp
jne case.default.0x47d536
jmp case.0x47d536.0
cmp eax, ebp
je case.0x47d536.0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x19c], ebp
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.0048e210
test eax, eax
jne 0x47d96a
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 2
mov dword [esp + 0x14], ecx
jne 0x47d96a
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 0x47d96a
mov eax, dword [ecx + 0x68]
mov dl, byte [eax + 0x5ee]
test dl, dl
mov dword [esp + 0x4c], eax
je 0x47d660
mov ecx, esi
call fcn.0048ce50
mov esi, eax
cmp esi, ebx
je 0x47d963
mov edi, dword [esi + 0x38]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x47d5d5
mov ecx, edi
call fcn.0049a7a0
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x47d5f5
mov edi, eax
push 1
push 0
mov ecx, esi
call fcn.00530690
dec edi
jne 0x47d5e7
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, ebp
ja case.0x47d5fe.1
jmp dword [eax*4 + 0x47dea8]
mov edi, dword [esi + 0x58]
jmp 0x47d612
mov edi, dword [esi + 0x5c]
jmp 0x47d612
mov edi, dword [esi + 0x54]
test edi, edi
je 0x47d93f
push edi
mov ecx, esi
call fcn.00568730
mov ecx, dword [ebx + 0x65c]
mov eax, dword [ecx + 0x2b0]
test eax, eax
jne 0x47d63e
push 0xac
mov ecx, ebx
call fcn.005527d0
mov edx, edi
push eax
or edx, 1
push edx
mov ecx, ebx
call fcn.00598fc0
test al, al
je 0x47d93f
mov ecx, edi
call fcn.00533e80
jmp 0x47d93f
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
jmp 0x47d670
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.0049cc10
cmp byte [esi + 0x7e], 0x22
jne 0x47d6bb
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 0x47d6f7
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.0049cc10
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 0x47d92d
lea ecx, [esp + 0x74]
call fcn.0040de10
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.0049e7c0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7e], 0x22
jne 0x47d793
push 1
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.0049e910
xor edi, edi
jmp 0x47d7bd
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x47d7b1
push edi
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x58]
call fcn.0049e910
jmp 0x47d7bd
lea ecx, [esp + 0x90]
call fcn.0046bcb0
test bl, 0x10
je 0x47d81d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47d7d8
call fcn.004a0f20
cmp eax, 8
jl 0x47d81d
mov eax, dword [esp + 0x150]
or eax, 0x100
push 0xc
mov dword [esp + 0x154], eax
call fcn.005ddbe0
add esp, 4
cmp eax, edi
je 0x47d808
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x47d80a
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00448f80
test bl, 0x20
je 0x47d856
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47d838
call fcn.004a0f20
cmp eax, 8
jl 0x47d856
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 0x47d85e
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 0x47d8a6
cmp eax, edi
jne 0x47d8de
cmp ecx, edi
je 0x47d8de
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.0047c2d0
jmp 0x47d8de
cmp edx, 1
jne 0x47d8de
cmp eax, edi
je 0x47d8de
cmp ecx, edi
jne 0x47d8de
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.0049dc20
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x47d8de
mov edx, dword [esp + 0x198]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.0047b000
mov eax, dword [esp + 0x150]
test ah, 1
je 0x47d90c
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x47d905
call fcn.00448f10
push esi
call fcn.005ddc00
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 0x47d711
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x47d66d
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.0047cee0
jmp case.0x47d536.0
test al, al
je 0x47d98d
mov dword [esi + 0x154], edi
jmp 0x47d993
mov dword [esi + 0x140], edi
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.0048e210
test eax, eax
jne case.0x47d536.0
mov ebp, dword [esi + 0x18]
cmp dword [ebp + 0x78], 2
mov dword [esp + 0x14], ebp
jne case.0x47d536.0
mov esi, dword [esi + 0x54]
shr esi, 0xd
and esi, 7
cmp esi, edi
mov dword [esp + 0x4c], esi
je case.0x47d536.0
mov eax, dword [ebp + 0x68]
mov cl, byte [eax + 0x5ee]
test cl, cl
mov dword [esp + 0x48], eax
je 0x47da7e
mov ecx, dword [esp + 0x198]
call fcn.0048ce50
mov esi, eax
cmp esi, ebx
je case.0x47d536.0
mov edi, dword [esi + 0x38]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x47da0c
mov ecx, edi
call fcn.0049a7a0
mov ecx, dword [esi + 8]
mov eax, dword [edi + 0x28]
cmp eax, ebx
mov edx, dword [ecx + 0x18]
mov ebp, dword [edx + 0x10]
jle 0x47da2d
mov edi, eax
mov edi, edi
push 1
push ebx
mov ecx, esi
call fcn.00530690
dec edi
jne 0x47da20
mov edi, dword [esi + 0x54]
cmp edi, ebx
je 0x47dd49
push edi
mov ecx, esi
call fcn.00568730
mov eax, dword [ebp + 0x65c]
mov eax, dword [eax + 0x2b0]
test eax, eax
jne 0x47da5c
push 0xac
mov ecx, ebp
call fcn.005527d0
mov ecx, edi
or ecx, 1
push eax
push ecx
mov ecx, ebp
call fcn.00598fc0
test al, al
je 0x47dd49
mov ecx, edi
call fcn.00533e80
jmp 0x47dd49
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ebx
jmp 0x47da93
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.0049cc10
cmp byte [ebp + 0x7e], 0x22
jne 0x47dadc
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 0x47db14
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0049cc10
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 0x47dd37
mov edi, edi
lea ecx, [esp + 0x74]
call fcn.0040de10
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.0049e7c0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x7e], 0x22
jne 0x47dbb2
push 1
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x28]
call fcn.0049e910
xor edi, edi
jmp 0x47dbdc
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x47dbd0
push edi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x58]
call fcn.0049e910
jmp 0x47dbdc
lea ecx, [esp + 0x90]
call fcn.0046bcb0
test bl, 0x10
je 0x47dc3d
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47dbf7
call fcn.004a0f20
cmp eax, 8
jl 0x47dc3d
mov ecx, dword [esp + 0x150]
or ecx, 0x100
push 0xc
mov dword [esp + 0x154], ecx
call fcn.005ddbe0
add esp, 4
cmp eax, edi
je 0x47dc28
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x47dc2a
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00448f80
test bl, 0x20
je 0x47dc76
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x47dc58
call fcn.004a0f20
cmp eax, 8
jl 0x47dc76
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 0x47dc7e
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 0x47dcb7
cmp eax, edi
jne 0x47dce8
cmp ecx, edi
je 0x47dce8
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x10]
push edx
push esi
call fcn.0047c2d0
jmp 0x47dce8
cmp edx, 1
jne 0x47dce8
cmp eax, edi
je 0x47dce8
cmp ecx, edi
jne 0x47dce8
mov ecx, dword [esp + 0x48]
push ebp
call fcn.0049dc20
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x47dce8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push esi
call fcn.0047b000
mov eax, dword [esp + 0x150]
test ah, 1
je 0x47dd16
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x47dd0f
call fcn.00448f10
push esi
call fcn.005ddc00
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 0x47db30
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x47da8b
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 0x47ddf2
cmp dword [eax + 0x154], edi
jne 0x47ddad
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 0x47de27
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