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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6c0696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push esi
push edi
call fcn.0041d590
cmp dword [eax], 2
jne case.0x417eb2.5
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 1]
dec eax
cmp eax, 0x1a
ja case.0x417eb2.5
jmp dword [eax*4 + 0x418560]
mov ecx, dword [0x74ce08]
test ecx, ecx
je case.0x417eb2.5
push esi
call fcn.004e8b20
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74ce08]
test ecx, ecx
je case.0x417eb2.5
push esi
call fcn.004e8b60
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00415280
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
push 0x2d
call fcn.0049fbb0
mov eax, dword [0x74ce9c]
mov cl, byte [eax + 0x440]
add esp, 8
test cl, cl
je 0x417fec
mov cl, byte [eax + 0x445]
test cl, cl
je 0x417fec
mov eax, dword [0x74ce08]
test eax, eax
je 0x41806a
mov ecx, dword [esi + 0x30]
push 0x20
add esi, 0x10
lea edx, [esp + 0x3c]
push esi
push edx
mov byte [esp + 0x34], 0xe
mov byte [esp + 0x35], 0x15
mov dword [esp + 0x85], ecx
call fcn.0062fff0
mov eax, dword [0x74c650]
mov ecx, dword [eax + 0x458]
push 0x20
add ecx, 4
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.0062fff0
mov eax, dword [0x739498]
add esp, 0x18
mov ecx, 0x739498
mov byte [esp + 0x78], 1
call dword [eax + 8]
mov ecx, dword [0x74c754]
push 0
mov dword [esp + 0x2e], eax
mov edx, dword [ecx]
push 0x55
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x10]
xor al, al
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x74ce08]
test eax, eax
je 0x41806a
mov ecx, dword [esi + 0x30]
lea edx, [esi + 0x10]
mov dword [eax + 0x470], ecx
mov ecx, dword [0x74ce08]
push edx
call fcn.004e8350
mov ecx, dword [0x74ce08]
mov esi, dword [esi + 0x30]
add ecx, 0xc58
xor eax, eax
cmp esi, 1
jne 0x418038
push ecx
push 0x6d2760
call fcn.005787a0
add esp, 8
mov ecx, 0xa
jmp 0x418055
test esi, esi
jne 0x418051
push ecx
push 0x6d2734
call fcn.005787a0
add esp, 8
mov ecx, 9
jmp 0x418055
mov ecx, dword [esp + 8]
push 1
push 0x6d271c
push 0
push ecx
push eax
mov ecx, 0x74cdb0
call fcn.0046a500
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74ce08]
push esi
call fcn.004eb050
mov ecx, dword [0x74ce08]
push 1
push 1
call fcn.005f01f0
mov ecx, dword [0x74ce08]
push 1
call fcn.005e8980
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov ecx, dword [0x74ce08]
push eax
call fcn.004eb220
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74ce08]
call fcn.004eb170
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74ce08]
push esi
call fcn.004e82f0
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74ce08]
push esi
call fcn.004e8310
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74ce08]
push esi
call fcn.004e8330
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74ce08]
push esi
call fcn.004e8bd0
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040a970
mov ecx, eax
call fcn.0040c3e0
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040a970
mov ecx, eax
call fcn.0040aff0
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040a970
mov ecx, eax
call fcn.0040c480
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040a970
mov ecx, eax
call fcn.0040b7d0
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x74cdb0
call fcn.00462fd0
lea ecx, [esi + 0x10]
push ecx
mov ecx, dword [0x74ce2c]
add esi, 0x30
push esi
call fcn.00491100
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x74cdb0
call fcn.00461b80
mov ecx, dword [0x74ce7c]
test ecx, ecx
je 0x418274
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x34]
push edx
push eax
mov eax, dword [esi + 0x10]
lea edx, [esi + 0x14]
push edx
push eax
call fcn.00488b70
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx ecx, word [esi + 0x32]
movzx edx, word [esi + 0x30]
push ecx
push edx
add esi, 0x10
push esi
push 0x6d26ec
push 0xff00ff00
push 4
call fcn.00469100
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0
call fcn.0040f520
add esp, 0x1c
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x30]
push ecx
add esi, 0x10
push esi
push 0x6d26d4
push 0xfffffa00
push 1
call fcn.00469100
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 1
call fcn.0040f520
add esp, 0x18
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dx, word [0x6d26d0]
xor eax, eax
mov byte [esp + 0x1a8], 0
mov ecx, 0x1f
lea edi, [esp + 0x1a9]
rep stosd dword es:[edi], eax
mov ecx, dword [str.bossX]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x6d26c8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
xor eax, eax
mov word [esp + 0x30], dx
mov ecx, 0x1d
lea edi, [esp + 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov byte [esp + 0x128], 0
mov ecx, 0x1f
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x10]
push eax
call fcn.00413c80
add esp, 4
test eax, eax
je 0x4183a2
add eax, 4
push eax
lea ecx, [esp + 0x2c]
push 0x6d1c40
push ecx
call fcn.0062f64e
add esp, 0xc
mov al, byte [esi + 0x35]
test al, al
je 0x418406
movzx edx, al
lea edi, [esi + 0x15]
push edi
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1b4]
push 0x6d26a8
push ecx
call fcn.0062f64e
movzx edx, byte [esi + 0x35]
push edi
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x148]
push str._s__d__s
push ecx
call fcn.0062f64e
add esp, 0x28
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x10]
call fcn.00404f60
mov dword [esp + 0x234], 0
jmp 0x418458
add esi, 0x15
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1b0]
push 0x6d2688
push edx
call fcn.0062f64e
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x140]
push str._s____s
push ecx
call fcn.0062f64e
add esp, 0x20
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x10]
call fcn.00404f60
mov dword [esp + 0x234], 1
mov ecx, dword [0x74cdc4]
add ecx, 0x5ac
call fcn.00416190
mov ecx, dword [0x74cdc4]
lea eax, [esp + 0xc]
add ecx, 0x5ac
push eax
call fcn.00416d40
lea ecx, [esp + 0xc]
mov dword [esp + 0x234], 0xffffffff
call fcn.00453570
push 0xfffffa00
lea ecx, [esp + 0x1ac]
push ecx
mov ecx, 0x74cdb0
call fcn.00463a60
mov al, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [str.bossX]
mov cx, word [0x6d26d0]
mov edx, dword [0x6d26c8]
mov dword [esp + 0xac], eax
mov word [esp + 0xb0], cx
mov dword [esp + 0xa8], edx
mov edx, dword [esi + 0x10]
xor eax, eax
mov ecx, 0x1d
lea edi, [esp + 0xb2]
rep stosd dword es:[edi], eax
push edx
stosw word es:[edi], ax
call fcn.00413c80
add esp, 4
test eax, eax
je 0x418523
add eax, 4
push eax
lea eax, [esp + 0xac]
push 0x6d1c40
push eax
call fcn.0062f64e
add esp, 0xc
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esi + 0x34]
push edx
add esi, 0x14
push esi
push 0x6d2664
push 0xfffffa00
push 1
call fcn.00469100
mov ecx, dword [esp + 0x244]
add esp, 0x18
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret