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

Disassembly:
push 0xffffffffffffffff
push 0x4a6d57
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bdcf8]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x655750], 1
jne 0x4199f2
or dword [0x655750], 1
push 0x4a7cb0
mov dword [0x65574c], 0xf
mov dword [0x655748], ebx
mov byte [0x655738], bl
call fcn.00477844
add esp, 4
mov eax, 2
test byte [0x655750], al
jne 0x419a28
or dword [0x655750], eax
push 0x4a7c80
mov dword [0x655730], 0xf
mov dword [0x65572c], ebx
mov byte [0x65571c], bl
call fcn.00477844
add esp, 4
mov eax, 4
test byte [0x655750], al
jne 0x419a65
or dword [0x655750], eax
push 0x655700
mov dword [esp + 0xbc], ebx
call fcn.0041a990
push 0x4a7c20
call fcn.00477844
add esp, 4
or ebp, 0xffffffff
mov dword [esp + 0xb8], ebp
jmp 0x419a68
or ebp, 0xffffffff
mov eax, 8
test byte [0x655750], al
jne 0x419aa4
or dword [0x655750], eax
push 0x6555c8
mov dword [esp + 0xbc], 1
call fcn.0041a990
push 0x4a7bc0
call fcn.00477844
add esp, 4
mov dword [esp + 0xb8], ebp
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
mov ecx, 0x655718
mov dword [esp + 0x28], ebx
call fcn.00402610
mov eax, dword [0x655710]
mov ecx, dword [0x65570c]
mov ebx, eax
cmp ecx, eax
jbe 0x419ae3
call fcn.00476a64
mov eax, dword [0x655710]
mov ecx, dword [0x65570c]
mov esi, dword [0x655700]
mov edi, ecx
cmp ecx, eax
jbe 0x419af4
call fcn.00476a64
mov edx, dword [0x655700]
push ebx
push esi
push edi
push edx
lea ebx, [esp + 0x28]
mov esi, 0x655700
call fcn.0041af30
mov eax, dword [0x6555d8]
mov ecx, dword [0x6555d4]
mov ebx, eax
cmp ecx, eax
jbe 0x419b2d
call fcn.00476a64
mov eax, dword [0x6555d8]
mov ecx, dword [0x6555d4]
mov esi, dword [0x6555c8]
mov edi, ecx
cmp ecx, eax
jbe 0x419b3e
call fcn.00476a64
mov eax, dword [0x6555c8]
push ebx
push esi
push edi
push eax
lea ebx, [esp + 0x28]
mov esi, 0x6555c8
call fcn.0041af30
mov eax, dword [0x6044ec]
mov ecx, dword [0x6044e8]
mov ebx, eax
cmp ecx, eax
jbe 0x419b76
call fcn.00476a64
mov eax, dword [0x6044ec]
mov ecx, dword [0x6044e8]
mov esi, dword [0x6044dc]
mov edi, ecx
cmp ecx, eax
jbe 0x419b87
call fcn.00476a64
mov ecx, dword [0x6044dc]
push ebx
push esi
push edi
push ecx
lea ebx, [esp + 0x28]
mov esi, 0x6044dc
call fcn.0041af30
mov eax, dword [0x604504]
mov ecx, dword [0x604500]
mov ebx, eax
cmp ecx, eax
jbe 0x419bc0
call fcn.00476a64
mov eax, dword [0x604504]
mov ecx, dword [0x604500]
mov esi, dword [0x6044f4]
mov edi, ecx
cmp ecx, eax
jbe 0x419bd1
call fcn.00476a64
mov edx, dword [0x6044f4]
push ebx
push esi
push edi
push edx
lea ebx, [esp + 0x28]
mov esi, 0x6044f4
call fcn.0041af30
mov eax, dword [0x60451c]
mov ecx, dword [0x604518]
mov ebx, eax
cmp ecx, eax
jbe 0x419c0a
call fcn.00476a64
mov eax, dword [0x60451c]
mov ecx, dword [0x604518]
mov esi, dword [0x60450c]
mov edi, ecx
cmp ecx, eax
jbe 0x419c1b
call fcn.00476a64
mov eax, dword [0x60450c]
push ebx
push esi
push edi
push eax
lea ebx, [esp + 0x28]
mov esi, 0x60450c
call fcn.0041af30
push 1
xor ebx, ebx
push 0x4b236c
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00402610
lea ecx, [esp + 0x78]
push ecx
push 0x655718
mov ecx, 0x655700
mov dword [esp + 0xc0], 2
call fcn.004197e0
mov dword [esp + 0xc0], ebp
mov ebp, 0x10
add esp, 8
cmp dword [esp + 0x90], ebp
jb 0x419ca4
mov edx, dword [esp + 0x7c]
push edx
call fcn.00476a7f
add esp, 4
mov edi, dword [0x65570c]
cmp edi, dword [0x655710]
jbe 0x419cb7
call fcn.00476a64
mov eax, dword [0x655700]
mov dword [esp + 0x18], eax
mov esi, dword [0x655710]
cmp dword [0x65570c], esi
jbe 0x419cd3
call fcn.00476a64
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x419ce3
cmp eax, dword [0x655700]
je 0x419ce8
call fcn.00476a64
cmp edi, esi
je 0x419f78
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x419d1d
call fcn.00476a64
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x419d09
call fcn.00476a64
mov eax, dword [esp + 0x20]
cmp eax, 3
ja case.default.0x419d16
jmp dword [eax*4 + 0x41a044]
mov eax, dword [eax]
jmp 0x419cff
push 1
mov esi, 0xf
push 0x4b2370
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00402610
lea ecx, [esp + 0x24]
push ecx
push edi
mov ecx, 0x6555c8
mov dword [esp + 0xc0], 3
call fcn.004197e0
add esp, 8
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x3c], ebp
jb 0x419d7e
mov edx, dword [esp + 0x28]
push edx
call fcn.00476a7f
add esp, 4
mov ecx, dword [0x6555d8]
mov dword [esp + 0x3c], esi
mov esi, dword [0x6555d4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp eax, 2
jne case.default.0x419d16
cmp dword [esi + 0x18], ebp
jb 0x419dbe
mov esi, dword [esi + 4]
jmp 0x419dc1
add esi, 4
push esi
call fcn.0047788a
mov ecx, dword [0x6555d8]
mov esi, dword [0x6555d4]
sub ecx, esi
mov byte [0x4bef1f], al
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 4
cmp ecx, 1
ja 0x419e00
call fcn.00476a64
mov esi, dword [0x6555d4]
cmp dword [esi + 0x34], ebp
jb 0x419e18
mov esi, dword [esi + 0x20]
push esi
call fcn.0047788a
mov byte [0x4bf7ca], al
jmp 0x419f4c
add esi, 0x20
push esi
call fcn.0047788a
mov byte [0x4bf7ca], al
jmp 0x419f4c
push 1
push 0x4b2370
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00402610
lea edx, [esp + 0x40]
push edx
push edi
mov ecx, 0x6044dc
mov dword [esp + 0xc0], 4
call fcn.004197e0
add esp, 8
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x58], ebp
jb case.default.0x419d16
mov eax, dword [esp + 0x44]
push eax
jmp 0x419f47
push 1
push 0x4b2370
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00402610
lea ecx, [esp + 0x5c]
push ecx
push edi
mov ecx, 0x6044f4
mov dword [esp + 0xc0], 5
call fcn.004197e0
add esp, 8
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x74], ebp
jb case.default.0x419d16
mov edx, dword [esp + 0x60]
push edx
jmp 0x419f47
push 1
push 0x4b2370
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00402610
lea eax, [esp + 0x94]
push eax
push edi
mov ecx, 0x60450c
mov dword [esp + 0xc0], 6
call fcn.004197e0
add esp, 8
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0xac], ebp
jb case.default.0x419d16
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00476a7f
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x419f74
call fcn.00476a64
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x419f68
call fcn.00476a64
add edi, 0x1c
inc dword [esp + 0x20]
jmp 0x419cc0
mov eax, dword [eax]
jmp 0x419f5e
mov ecx, dword [0x6044ec]
sub ecx, dword [0x6044e8]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, 0x37
mov dword [0x4bfe4c], esi
mov byte [esp + 0x17], bl
je 0x419fba
lea esi, [eax + eax*8]
lea esi, [esi + esi + 0x3c]
mov dword [0x4bfe4c], esi
mov byte [esp + 0x17], 1
mov ecx, dword [0x604504]
sub ecx, dword [0x604500]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x419fed
lea edx, [eax + eax*8]
lea esi, [esi + edx*2 + 5]
mov dword [0x4bfe4c], esi
mov byte [esp + 0x17], 1
mov ecx, dword [0x60451c]
sub ecx, dword [0x604518]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41a017
lea eax, [eax + eax*8]
lea esi, [esi + eax*2 + 5]
jmp 0x41a01d
cmp byte [esp + 0x17], bl
je 0x41a026
add esi, 5
mov dword [0x4bfe4c], esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 8