Function at 0x4729c0
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.004824d0
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
mov ebp, 3
ja case.default.0x4729fc
jmp dword [ecx*4 + 0x47343c]
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a1a
mov dword [esi + 0x154], 2
jmp case.default.0x4729fc
mov dword [esi + 0x140], 2
jmp case.default.0x4729fc
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a39
mov dword [esi + 0x154], edi
jmp case.default.0x4729fc
mov dword [esi + 0x140], edi
jmp case.default.0x4729fc
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a54
mov dword [esi + 0x154], ebp
jmp case.default.0x4729fc
mov dword [esi + 0x140], ebp
jmp case.default.0x4729fc
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a73
mov dword [esi + 0x154], 4
jmp case.default.0x4729fc
mov dword [esi + 0x140], 4
xor ebx, ebx
cmp eax, ebx
mov al, byte [esp + 0x1a0]
je 0x472f51
test al, al
mov eax, dword [esp + 0x10]
je 0x472aa8
mov esi, dword [eax + 0x13c]
mov eax, dword [eax + 0x154]
mov dword [esp + 0x1c], eax
jmp 0x472ab8
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x150]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x198]
call fcn.004827c0
cmp eax, 9
jl case.default.0x472b06
cmp dword [esp + 0x198], esi
jne case.default.0x472b06
mov al, byte [esp + 0x1a0]
test al, al
je 0x472ae9
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x140]
jmp 0x472af3
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x154]
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
ja case.default.0x472b06
movzx ecx, byte [ecx + 0x47346c]
jmp dword [ecx*4 + 0x473460]
cmp eax, ebp
jne case.default.0x472b06
jmp case.0x472b06.0
cmp eax, ebp
je case.0x472b06.0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x19c], ebp
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.004826b0
test eax, eax
jne 0x472f3a
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 2
mov dword [esp + 0x14], ecx
jne 0x472f3a
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 0x472f3a
mov eax, dword [ecx + 0x68]
mov dl, byte [eax + 0x51e]
test dl, dl
mov dword [esp + 0x4c], eax
je 0x472c30
mov ecx, esi
call fcn.00481320
mov esi, eax
cmp esi, ebx
je 0x472f33
mov edi, dword [esi + 0x34]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x472ba5
mov ecx, edi
call fcn.0048ebc0
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x472bc5
mov edi, eax
push 1
push 0
mov ecx, esi
call fcn.00520000
dec edi
jne 0x472bb7
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, ebp
ja case.0x472bce.1
jmp dword [eax*4 + 0x473478]
mov edi, dword [esi + 0x54]
jmp 0x472be2
mov edi, dword [esi + 0x58]
jmp 0x472be2
mov edi, dword [esi + 0x50]
test edi, edi
je 0x472f0f
push edi
mov ecx, esi
call fcn.0051ff40
mov ecx, dword [ebx + 0x640]
mov eax, dword [ecx + 0x2b0]
test eax, eax
jne 0x472c0e
push 0xac
mov ecx, ebx
call fcn.00541840
mov edx, edi
push eax
or edx, 1
push edx
mov ecx, ebx
call fcn.005840d6
test al, al
je 0x472f0f
mov ecx, edi
call fcn.00523900
jmp 0x472f0f
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
jmp 0x472c40
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, closesocket
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.00491160
cmp byte [esi + 0x7e], 0x22
jne 0x472c8b
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 0x472cc7
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.00491160
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 0x472efd
lea ecx, [esp + 0x74]
call fcn.0040dd10
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.004928e0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7e], 0x22
jne 0x472d63
push 1
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.00492a30
xor edi, edi
jmp 0x472d8d
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x472d81
push edi
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x58]
call fcn.00492a30
jmp 0x472d8d
lea ecx, [esp + 0x90]
call fcn.00461840
test bl, 0x10
je 0x472ded
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x472da8
call fcn.00494e90
cmp eax, 8
jl 0x472ded
mov eax, dword [esp + 0x150]
or eax, 0x100
push 0xc
mov dword [esp + 0x154], eax
call fcn.0043f000
add esp, 4
cmp eax, edi
je 0x472dd8
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x472dda
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.004476b0
test bl, 0x20
je 0x472e26
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x472e08
call fcn.00494e90
cmp eax, 8
jl 0x472e26
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 0x472e2e
mov byte [esp + 0x181], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
movzx eax, byte [eax + 0x5db5e0]
movzx ecx, byte [ecx + 0x5db5e0]
movzx edx, bl
and eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, edi
jne 0x472e76
cmp eax, edi
jne 0x472eae
cmp ecx, edi
je 0x472eae
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.004719a0
jmp 0x472eae
cmp edx, 1
jne 0x472eae
cmp eax, edi
je 0x472eae
cmp ecx, edi
jne 0x472eae
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.00491c60
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x472eae
mov edx, dword [esp + 0x198]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.00470840
mov eax, dword [esp + 0x150]
test ah, 1
je 0x472edc
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x472ed5
call fcn.00447640
push esi
call fcn.0043f020
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 0x472ce1
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x472c3d
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.004724b0
jmp case.0x472b06.0
test al, al
je 0x472f5d
mov dword [esi + 0x154], edi
jmp 0x472f63
mov dword [esi + 0x140], edi
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.004826b0
test eax, eax
jne case.0x472b06.0
mov ebp, dword [esi + 0x18]
cmp dword [ebp + 0x78], 2
mov dword [esp + 0x14], ebp
jne case.0x472b06.0
mov esi, dword [esi + 0x54]
shr esi, 0xd
and esi, 7
cmp esi, edi
mov dword [esp + 0x4c], esi
je case.0x472b06.0
mov eax, dword [ebp + 0x68]
mov cl, byte [eax + 0x51e]
test cl, cl
mov dword [esp + 0x48], eax
je 0x47304e
mov ecx, dword [esp + 0x198]
call fcn.00481320
mov esi, eax
cmp esi, ebx
je case.0x472b06.0
mov edi, dword [esi + 0x34]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x472fdc
mov ecx, edi
call fcn.0048ebc0
mov ecx, dword [esi + 8]
mov eax, dword [edi + 0x28]
cmp eax, ebx
mov edx, dword [ecx + 0x18]
mov ebp, dword [edx + 0x10]
jle 0x472ffd
mov edi, eax
mov edi, edi
push 1
push ebx
mov ecx, esi
call fcn.00520000
dec edi
jne 0x472ff0
mov edi, dword [esi + 0x50]
cmp edi, ebx
je 0x473319
push edi
mov ecx, esi
call fcn.0051ff40
mov eax, dword [ebp + 0x640]
mov eax, dword [eax + 0x2b0]
test eax, eax
jne 0x47302c
push 0xac
mov ecx, ebp
call fcn.00541840
mov ecx, edi
or ecx, 1
push eax
push ecx
mov ecx, ebp
call fcn.005840d6
test al, al
je 0x473319
mov ecx, edi
call fcn.00523900
jmp 0x473319
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ebx
jmp 0x473063
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, closesocket
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.00491160
cmp byte [ebp + 0x7e], 0x22
jne 0x4730ac
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 0x4730e4
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.00491160
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 0x473307
mov edi, edi
lea ecx, [esp + 0x74]
call fcn.0040dd10
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.004928e0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x7e], 0x22
jne 0x473182
push 1
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x28]
call fcn.00492a30
xor edi, edi
jmp 0x4731ac
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x4731a0
push edi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x58]
call fcn.00492a30
jmp 0x4731ac
lea ecx, [esp + 0x90]
call fcn.00461840
test bl, 0x10
je 0x47320d
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x4731c7
call fcn.00494e90
cmp eax, 8
jl 0x47320d
mov ecx, dword [esp + 0x150]
or ecx, 0x100
push 0xc
mov dword [esp + 0x154], ecx
call fcn.0043f000
add esp, 4
cmp eax, edi
je 0x4731f8
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x4731fa
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.004476b0
test bl, 0x20
je 0x473246
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x473228
call fcn.00494e90
cmp eax, 8
jl 0x473246
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 0x47324e
mov byte [esp + 0x181], 1
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + 0x5db5e0]
movzx edx, bl
mov eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
and eax, 1
cmp edx, edi
jne 0x473287
cmp eax, edi
jne 0x4732b8
cmp ecx, edi
je 0x4732b8
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x10]
push edx
push esi
call fcn.004719a0
jmp 0x4732b8
cmp edx, 1
jne 0x4732b8
cmp eax, edi
je 0x4732b8
cmp ecx, edi
jne 0x4732b8
mov ecx, dword [esp + 0x48]
push ebp
call fcn.00491c60
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x4732b8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push esi
call fcn.00470840
mov eax, dword [esp + 0x150]
test ah, 1
je 0x4732e6
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x4732df
call fcn.00447640
push esi
call fcn.0043f020
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 0x473100
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x47305b
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 0x4733c2
cmp dword [eax + 0x154], edi
jne 0x47337d
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 0x4733f7
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