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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467d00
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push str.ProtectCop
mov ecx, ebx
call fcn.00431dbe
lea eax, [ebx + 0x3158]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.MAIN
call fcn.0040bad0
lea edi, [ebx + 0x3150]
mov ecx, edi
call fcn.004257d0
push 0xe6
push 0xe6
push 0xe8
push 0xe7
lea esi, [ebx + 0x3cb4]
push 0xe6
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push 0xe9
push 0xe9
push 0xeb
push 0xea
lea esi, [ebx + 0x3dc8]
push 0xe9
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push 0xec
push 0xec
push 0xee
push 0xed
lea esi, [ebx + 0x3edc]
push 0xec
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push 0xef
push 0xef
push 0xf1
push 0xf0
lea esi, [ebx + 0x3ff0]
push 0xef
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push 0xf5
push 0xf5
push 0xf7
push 0xf6
lea esi, [ebx + 0x4104]
push 0xf5
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push 0xf2
push 0xf2
push 0xf4
push 0xf3
lea esi, [ebx + 0x3a8c]
push 0xf2
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push 0xdf
push 0xdf
push 0xe1
push 0xe1
lea esi, [ebx + 0x3978]
push 0xdf
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push 0xe2
push 0xe2
push 0xe4
push 0xe4
lea esi, [ebx + 0x3864]
push 0xe2
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
mov eax, dword [ebx + 0x27d4]
mov edx, dword [eax + 0x13c]
lea esi, [ebx + 0x27d4]
push ebx
push 0x106
mov ecx, esi
call edx
push 0x106
mov ecx, esi
call fcn.00431e20
sub esp, 8
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00410f30
mov ecx, esi
call fcn.0040f600
push 0
mov ecx, esi
call fcn.00431e89
push esi
mov eax, ebx
call fcn.0041f080
mov edx, dword [ebx + 0xab4]
mov eax, dword [edx + 0x13c]
lea esi, [ebx + 0xab4]
push ebx
push 0x8f
mov ecx, esi
call eax
push 0x8f
mov ecx, esi
call fcn.00431e20
sub esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea edi, [ebx + 0x3150]
call fcn.00410f30
mov ecx, esi
call fcn.00416eb0
push 0
mov ecx, esi
call fcn.00431e89
mov eax, ebx
mov edi, esi
call fcn.0040d350
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 0x13c]
lea esi, [ebx + 0xcc]
push ebx
push 0x67
mov ecx, esi
call eax
push 0x67
mov ecx, esi
call fcn.00431e20
sub esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea edi, [ebx + 0x3150]
call fcn.00410f30
mov ecx, esi
call fcn.00416e00
push ebx
push esi
call fcn.0040fdf0
push 5
mov ecx, esi
call fcn.00431e89
mov edx, dword [ebx + 0x1868]
lea edi, [ebx + 0x1868]
lea eax, [ebx + 0x1e94]
push ebx
mov dword [ebx + 0x25c], eax
mov eax, dword [edx + 0x13c]
push 0xac
mov ecx, edi
call eax
push 0xac
mov ecx, edi
call fcn.00431e20
sub esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea edi, [ebx + 0x3150]
call fcn.00410f30
lea edi, [ebx + 0x1868]
mov ecx, edi
call fcn.00416f60
push 0
mov ecx, edi
call fcn.00431e89
push ebx
push edi
call fcn.0041ade0
mov edx, dword [ebx + 0x1e94]
mov eax, dword [edx + 0x13c]
lea edi, [ebx + 0x1e94]
push ebx
push 0xab
mov ecx, edi
call eax
push 0xab
mov ecx, edi
call fcn.00431e20
sub esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea edi, [ebx + 0x3150]
call fcn.00410f30
lea edi, [ebx + 0x1e94]
mov ecx, edi
call fcn.00416cd0
push 0
mov ecx, edi
call fcn.00431e89
push ebx
push edi
call fcn.004048b0
lea edi, [ebx + 0x3158]
push edi
push esi
mov dword [ebx + 0x2754], ebx
call fcn.00422470
lea eax, [ebx + 0x1868]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x1e94]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0xab4]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x27d4]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x3978]
push edi
push eax
call fcn.00422470
push edi
lea eax, [ebx + 0x3864]
push eax
call fcn.00422470
lea edx, [ebx + 0x318c]
push edi
push edx
call fcn.00422470
add esp, 0x40
lea eax, [ebx + 0x3208]
push edi
push eax
call fcn.00422470
lea ecx, [ebx + 0x3284]
push edi
push ecx
call fcn.00422470
lea edx, [ebx + 0x3300]
push edi
push edx
call fcn.00422470
lea eax, [ebx + 0x3414]
push edi
push eax
call fcn.00422470
lea ecx, [ebx + 0x3528]
push edi
push ecx
call fcn.00422470
lea edx, [ebx + 0x363c]
push edi
push edx
call fcn.00422470
lea eax, [ebx + 0x3cb4]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x3dc8]
push edi
push eax
call fcn.00422470
add esp, 0x40
lea eax, [ebx + 0x3edc]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x3ff0]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x3a8c]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x4104]
push edi
push eax
call fcn.00422470
lea eax, [ebx + 0x78]
push eax
push edi
push 0xcd
call fcn.00422750
mov eax, dword [ebx + 0x3cd4]
add esp, 0x2c
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
mov ecx, esi
call fcn.00431e89
push 0
lea ecx, [ebx + 0x1868]
call fcn.00431e89
push 0
lea ecx, [ebx + 0x1e94]
call fcn.00431e89
push 0
lea ecx, [ebx + 0xab4]
call fcn.00431e89
push 0
lea ecx, [ebx + 0x27d4]
call fcn.00431e89
push 0xdc
push 0xdc
push 0xde
push 0xdd
lea esi, [ebx + 0x3750]
push 0xdc
mov byte [ebx + 0x3185], 1
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push edi
push esi
call fcn.00422470
add esp, 8
push 0x1a4
push 0x1a4
push 0x1a6
push 0x1a5
lea esi, [ebx + 0x3ba0]
push 0x1a4
call fcn.0042bb30
push 0x470cc8
mov ecx, esi
call fcn.00431dbe
push edi
push esi
call fcn.00422470
lea esi, [ebx + 0x78]
push esi
push edi
push 0xd2
call fcn.00422750
add esp, 0x14
push esi
push edi
push 0xd3
mov dword [ebx + 0x8c], eax
call fcn.00422750
add esp, 0xc
push esi
push edi
push 0xd4
mov dword [ebx + 0x90], eax
call fcn.00422750
add esp, 0xc
push esi
push edi
push 0xd5
mov dword [ebx + 0x94], eax
call fcn.00422750
add esp, 0xc
push esi
push edi
push 0xd6
mov dword [ebx + 0x98], eax
call fcn.00422750
add esp, 4
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea edi, [ebx + 0x3150]
mov dword [ebx + 0x9c], eax
call fcn.00410f30
lea ecx, [ebx + 0xcc]
call fcn.00416e00
xor eax, eax
cmp dword [ebx + 0x3160], eax
mov dword [esp + 0x18], eax
jg 0x418174
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x41867a
cmp eax, dword [ebx + 0x3160]
jge 0x41867a
mov edx, dword [ebx + 0x315c]
mov esi, dword [edx + eax*4]
mov ecx, dword [esi - 0x10]
lea eax, [edx + eax*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4181bb
cmp eax, dword [esi]
jne 0x4181bb
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4181f6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4184d2
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0044a9f2
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0x50], 0
cmp dword [edi - 0xc], 0
je 0x418481
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.004298a0
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 1
call fcn.004298a0
mov eax, dword [eax]
add esp, 4
push eax
call fcn.0044b4b2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.004298a0
add esp, 4
mov esi, eax
mov byte [esp + 0x50], 2
mov edx, dword [esi]
mov ecx, dword [edx - 0x10]
test ecx, ecx
je 0x41828d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jne 0x41829b
call fcn.00434084
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov edx, str.TRUE
call fcn.0041a640
mov byte [esp + 0x50], 3
mov edi, dword [esp + 0x24]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x4184d7
mov eax, dword [esi]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4182ee
test dx, dx
je 0x4182ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4182ee
add eax, 4
add ecx, 4
test dx, dx
jne 0x4182c8
xor eax, eax
jmp 0x4182f3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [edi - 0x10]
sete byte [esp + 0xf]
mov byte [esp + 0x50], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41831b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0xf], 0
jne 0x418333
push 0x475510
call fcn.0041a5d0
add esp, 4
test al, al
je 0x418335
mov al, 1
movzx ecx, al
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x30], ecx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418361
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
lea esi, [esp + 0x34]
call fcn.00429a10
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004298a0
add esp, 4
mov byte [esp + 0x50], 4
mov edi, dword [esp + 0x14]
mov ecx, dword [edi - 0x10]
add edi, 0xfffffff0
test ecx, ecx
je 0x41839d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x4183ab
call fcn.00434084
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov edx, str.MAIN_SIZE
call fcn.0041a640
mov byte [esp + 0x50], 5
mov esi, dword [esp + 0x2c]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x4184d7
mov eax, dword [esp + 0x14]
mov ecx, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418406
test dx, dx
je 0x418402
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418406
add eax, 4
add ecx, 4
test dx, dx
jne 0x4183e0
xor eax, eax
jmp 0x41840b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
sete byte [esp + 0xf]
mov byte [esp + 0x50], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418433
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0xf], 0
jne 0x4184e1
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418481
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4184a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [ebx + 0x3160]
mov dword [esp + 0x18], eax
jl 0x418170
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00401130
push 0x80004005
call fcn.00401200
call fcn.004390f8
mov esi, dword [eax + 4]
call fcn.00416780
test al, al
je 0x4185b9
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push 0
mov dword [ebx + 0x316c], ecx
mov ecx, dword [esp + 0x44]
push 0
push 0
mov dword [ebx + 0x3170], edx
mov dword [ebx + 0x3174], eax
push 0
mov dword [ebx + 0x3178], ecx
push 0
mov ecx, ebx
call fcn.00431e49
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [ebx + 0x76], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418558
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41857d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4185a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x30]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push esi
push edx
mov dword [ebx + 0x316c], eax
mov dword [ebx + 0x3170], ecx
push ecx
mov dword [ebx + 0x3174], edx
push eax
mov ecx, ebx
mov dword [ebx + 0x3178], esi
call fcn.00431e49
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418615
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41863a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418153
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00433f65
int3