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

Disassembly:
push 0xffffffffffffffff
push 0x522451
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 4]
mov ebx, ecx
cmp eax, esi
mov dword [esp + 0x44], esi
je 0x419012
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x41901b
mov ax, 0xffc7
jmp 0x419ab9
lea ecx, [esp + 0xf0]
call fcn.0049ce70
mov dl, byte [esp + 0x13]
mov dword [esp + 0x158], esi
mov byte [esp + 0x9c], dl
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
push 3
lea ecx, [esp + 0xf4]
mov byte [esp + 0x15c], 1
call fcn.0049d040
test al, al
jne 0x419091
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x158], 0xffffffff
call fcn.0049cff0
mov ax, 0xffcd
jmp 0x419ab9
lea ecx, [esp + 0x48]
call fcn.0048a5e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x158], 2
call fcn.0048a5e0
mov al, byte [esp + 0x13]
mov dword [esp + 0x58], esi
mov byte [esp + 0x54], al
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
lea ecx, [esp + 0xbc]
mov byte [esp + 0x158], 3
call fcn.004974f0
mov cl, byte [esp + 0x13]
mov dword [esp + 0x18], esi
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 5
call fcn.0048a5e0
lea ecx, [esp + 0x64]
mov byte [esp + 0x158], 6
call fcn.0048a5e0
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x15c], 7
mov byte [esp + 0x70], dl
call fcn.00405cc0
lea ecx, [esp + 0x80]
mov byte [esp + 0x158], 8
call fcn.0049f490
mov byte [esp + 0x158], 9
mov eax, dword [ebx + 0x74]
mov edx, dword [ebx + 0x70]
lea ecx, [ebx + 0x6c]
push eax
push edx
call fcn.004153d0
mov eax, dword [ebx + 0x1c]
lea edi, [ebx + 0x18]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0xbc]
push ecx
push eax
mov ecx, edi
call fcn.00415480
mov al, byte [ebx + 0x14]
test al, al
je 0x419279
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x54a280
call fcn.0048a680
mov ecx, dword [0x55b3e4]
call fcn.0049f5c0
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x4191bd
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
mov ecx, dword [0x55b3e4]
call fcn.0049f700
mov eax, dword [ebp + 8]
add esi, 4
cmp esi, eax
jne 0x41919b
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [0x55b3e4]
call fcn.0049fbc0
test al, al
je 0x41997d
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0xbc]
push edx
call fcn.00415480
lea ecx, [ebx + 0x24]
call fcn.00496cd0
mov eax, dword [ebx + 0x84]
mov edx, dword [ebx + 0x80]
lea ecx, [ebx + 0x7c]
push eax
push edx
call fcn.00415670
lea ecx, [ebx + 0x34]
call fcn.00497af0
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
xor edi, edi
cmp esi, eax
je 0x4192c2
push edi
lea ecx, [esp + 0x84]
call fcn.0049fd40
test al, al
je 0x41926c
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0x4c]
call fcn.0048a8d0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esp + 0x48]
mov word [esp + 0x4c], 0
push edx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00415420
mov eax, dword [ebp + 8]
add esi, 4
inc edi
cmp esi, eax
jne 0x419225
jmp 0x4192c2
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x4192c2
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0x4c]
call fcn.0048a8d0
mov eax, dword [edi + 4]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xb0]
push eax
push edx
mov ecx, edi
mov word [esp + 0x58], 0
call fcn.00415420
mov eax, dword [ebp + 8]
add esi, 4
cmp esi, eax
jne 0x419283
mov eax, dword [ebx + 0x20]
test eax, eax
ja 0x419313
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x419313
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0x4c]
call fcn.0048a8d0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esp + 0x48]
mov word [esp + 0x4c], 0
push edx
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00415420
mov eax, dword [ebp + 8]
add esi, 4
cmp esi, eax
jne 0x4192d3
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
mov al, byte [esp + 0x13]
mov byte [esp + 0x30], al
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea ebp, [ebx + 0x34]
mov byte [esp + 0x158], 0xa
mov ecx, ebp
call fcn.00497af0
mov eax, dword [ebx + 0x20]
test eax, eax
jbe 0x419792
lea ecx, [esp + 0x8c]
call fcn.00496190
mov edi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
cmp edi, eax
mov byte [esp + 0x158], 0xb
je 0x4194c7
sub esp, 0x10
mov dword [esp + 0x34], esp
mov ecx, esp
push edi
call fcn.00415300
lea ecx, [esp + 0x9c]
call fcn.004961f0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00415780
mov edx, dword [esp + 0x28]
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x14]
push edx
push esi
call fcn.00405f70
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
push eax
mov eax, dword [esp + 0x3c]
push eax
push eax
call fcn.00415780
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.00405f70
lea edx, [esp + 0x30]
push 1
push edx
push edi
mov ecx, 0x558010
mov dword [esp + 0x44], esi
call fcn.00405350
cmp ax, 0xff9b
jne 0x41946c
mov esi, dword [esp + 0x44]
push 1
inc esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], esi
call fcn.0048a610
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x160], 0xc
call fcn.0048a5f0
lea ecx, [esp + 0x2c]
call fcn.0048a8d0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00405d10
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.00497860
cmp si, 5
jg 0x4197db
lea ecx, [esp + 0x40]
mov byte [esp + 0x158], 0xb
call fcn.0048a720
jmp 0x4194b6
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0
call fcn.00405cb0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0048a5f0
lea ecx, [esp + 0x2c]
call fcn.0048a8d0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00405d10
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.00497860
mov eax, dword [ebx + 0x84]
add edi, 0x10
cmp edi, eax
jne 0x419375
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x54a278
call fcn.0048a680
push ecx
mov byte [esp + 0x164], 0x10
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x54a270
call fcn.0048a680
mov ecx, dword [0x55b3d8]
mov byte [esp + 0x164], 0xb
call fcn.0049ebf0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x2c], ecx
je 0x419743
lea ecx, [esp + 0xbc]
call fcn.00497af0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00415780
mov ebp, dword [esp + 0x28]
mov edi, eax
add esp, 0xc
cmp edi, ebp
mov esi, edi
je 0x419556
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, ebp
jne 0x419546
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
lea ecx, [ebx + 0x34]
mov ax, word [edx + 0xc]
push eax
call fcn.00497a10
mov esi, eax
lea ecx, [esp + 0x14]
cmp ecx, esi
je 0x41967c
mov edx, dword [esi + 4]
test edx, edx
jne 0x419584
xor eax, eax
jmp 0x41958c
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x419598
xor ecx, ecx
jmp 0x4195a1
mov ecx, dword [esp + 0x1c]
sub ecx, edi
sar ecx, 2
cmp eax, ecx
ja 0x4195d9
mov eax, dword [esi + 8]
push edi
push eax
push edx
call fcn.00415780
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.00405f70
mov ecx, esi
call fcn.00405c90
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
jmp 0x41967c
lea ecx, [esp + 0x14]
call fcn.00407e10
mov ecx, esi
mov edi, eax
call fcn.00405c90
cmp eax, edi
ja 0x419625
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.00405c90
mov ecx, dword [esp + 0x18]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00415780
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.004060b0
jmp 0x4195c2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405f70
mov edx, dword [esp + 0x18]
push edx
call fcn.00514120
add esp, 4
mov ecx, esi
call fcn.00405c90
test eax, eax
jge 0x419652
xor eax, eax
shl eax, 2
push eax
call fcn.00514b36
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.004060b0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc0]
call fcn.00497860
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xbc]
add eax, 8
push edx
lea ecx, [esp + 0xe4]
push eax
push ecx
mov ecx, ebx
call fcn.00419ca0
mov edx, dword [0x531160]
lea ecx, [esp + 0x6c]
push edx
push 0
push eax
mov byte [esp + 0x164], 0x11
call fcn.00407be0
push 1
lea ecx, [esp + 0xe4]
mov byte [esp + 0x15c], 0xb
call fcn.00405cc0
push 0
push 0xffff
sub esp, 0x10
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.0040d030
lea ecx, [esp + 0x44]
mov byte [esp + 0x170], 0x12
call fcn.00425570
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0048a5f0
mov ecx, dword [0x55b3d8]
mov byte [esp + 0x174], 0xb
call fcn.0049ed30
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
mov dword [esp + 0x2c], eax
jne 0x41951b
lea ecx, [esp + 0xf0]
call fcn.0049d4d0
mov ecx, dword [0x55b3d8]
push 0
call fcn.0049f220
cmp ax, 0xb
mov byte [esp + 0x158], 0xa
lea ecx, [esp + 0x8c]
je 0x41978d
call fcn.004961b0
lea ebp, [ebx + 0x34]
mov ecx, ebp
call fcn.00497af0
mov eax, dword [ebx + 0x20]
test eax, eax
ja 0x41934d
jmp 0x419792
call fcn.004961b0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp esi, edi
mov byte [esp + 0x158], 9
je 0x4197b8
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4197a6
mov esi, dword [esp + 0x34]
push esi
call fcn.00514120
mov ebp, dword [esp + 0x164]
add esp, 4
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
jmp 0x41913f
xor ebx, ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x54a1d0
call fcn.0048a680
push ecx
mov byte [esp + 0x168], 0xd
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x54a1c8
call fcn.0048a680
mov ecx, 0x55b3d0
mov byte [esp + 0x168], 0xc
call fcn.00499670
lea ecx, [esp + 0x40]
mov byte [esp + 0x158], 0xb
call fcn.0048a720
lea ecx, [esp + 0x8c]
mov byte [esp + 0x158], 0xa
call fcn.004961b0
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp esi, eax
mov byte [esp + 0x158], 9
mov edi, eax
je 0x419871
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x41985e
mov esi, dword [esp + 0x34]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x158], 8
call fcn.0048a720
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x15c], 7
call fcn.00405cc0
lea ecx, [esp + 0x64]
mov byte [esp + 0x158], 6
call fcn.0048a720
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 5
call fcn.0048a720
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x158], 4
mov edi, eax
je 0x4198f8
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4198e5
mov esi, dword [esp + 0x18]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x158], 3
call fcn.004975f0
lea ecx, [esp + 0x54]
mov byte [esp + 0x158], 0xf
call fcn.00407ba0
lea ecx, [esp + 0x50]
mov byte [esp + 0x158], 0xe
call fcn.0048a720
lea ecx, [esp + 0x48]
mov byte [esp + 0x158], 1
call fcn.0048a720
push ebx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x158], 0xffffffff
call fcn.0049cff0
mov ax, 0xffca
jmp 0x419ab9
lea ecx, [esp + 0x80]
mov byte [esp + 0x158], 8
call fcn.0048a720
mov eax, dword [esp + 0x70]
xor ebx, ebx
cmp eax, ebx
je 0x4199b8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4199af
cmp al, 0xff
je 0x4199af
dec al
mov byte [ecx], al
jmp 0x4199b8
push ecx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x158], 6
call fcn.0048a720
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 5
call fcn.0048a720
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x158], 4
mov edi, eax
je 0x419a0e
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4199fc
mov esi, dword [esp + 0x18]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x158], 3
call fcn.004975f0
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
cmp esi, eax
mov byte [esp + 0x158], 0x14
mov edi, eax
je 0x419a5f
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x419a4d
mov esi, dword [esp + 0x58]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x158], 0x13
call fcn.0048a720
lea ecx, [esp + 0x48]
mov byte [esp + 0x158], 1
call fcn.0048a720
push ebx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x158], 0xffffffff
call fcn.0049cff0
xor ax, ax
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 4