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

Disassembly:
push 0xffffffffffffffff
push 0x4a130e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], edi
call fcn.00432eb0
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
lea edx, [esp + 0x44]
xor ebx, ebx
push edx
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [eax + 0x30]
mov esi, dword [edi + 4]
mov eax, dword [0x4b9d58]
add edi, 0xc0
cmp eax, ebx
mov dword [esp + 0x3c], edi
jne 0x419301
mov dword [0x4b9d58], ebx
lea eax, [edi + 0x1c]
push eax
push 0x4b9d28
push 0x4c7130
call fcn.0041a070
push ebx
push eax
push 0x82
push ebx
push 0x50000000
lea ecx, [esp + 0x58]
push 0x4b9d00
push ecx
push esi
mov ecx, edi
call fcn.0041ad60
cmp eax, ebx
jne 0x419352
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00432ed0
xor eax, eax
jmp 0x419d6d
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
sub esi, edx
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebx
call fcn.0041a1d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
add eax, 0x14
mov dword [esp + 0x38], edx
mov ecx, 0x4c6f80
mov dword [esp + 0x38], eax
call fcn.00436420
mov ecx, eax
mov dword [esp + 0x7c], eax
call fcn.0041b0f0
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x5c], ebp
jg 0x4193cf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00432ed0
xor eax, eax
jmp 0x419d6d
mov eax, dword [0x4b7080]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp ebp, ebx
mov byte [esp + 0x298], 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x60], ebx
jle 0x4196ec
mov bl, 3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x7c]
push eax
call fcn.0041b6e0
mov edi, eax
test edi, edi
je 0x4196db
mov ecx, edi
call fcn.00413420
test eax, eax
mov ecx, edi
jne 0x41966f
call fcn.00413430
add eax, 8
mov eax, dword [eax]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00406d70
mov edx, dword [0x4b7080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4c6f78]
lea ecx, [esp + 0x90]
push 0x100
push ecx
mov eax, dword [eax + 8]
push 0xbd
push eax
mov byte [esp + 0x2a8], bl
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x419475
mov word [esp + 0x90], ax
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x419494
lea eax, [esp + 0x90]
lea ecx, [esp + 0x10]
push eax
call fcn.00405d80
jmp 0x4194e2
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00406ac0
test eax, eax
je 0x4194d7
push esi
push eax
push 0xbd
call fcn.00406fc0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4194d7
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00406ac0
test eax, eax
jne 0x4194ab
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00406b80
mov ecx, edi
call fcn.00414b00
dec eax
je 0x41958d
dec eax
je 0x41950a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00406d70
jmp 0x41960b
mov ecx, 0x4b9ccc
test ecx, ecx
jne 0x419517
xor eax, eax
jmp 0x419522
push 0x4b9ccc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4b9ccc
push eax
lea ecx, [esp + 0x1c]
call fcn.00406d70
lea edx, [esp + 0x64]
mov ecx, edi
push edx
call fcn.00413dc0
mov eax, dword [eax]
push 0
push eax
push 0x16
mov ecx, 0x4c6f80
mov byte [esp + 0x2a4], 5
call fcn.00403360
mov eax, dword [esp + 0x64]
mov edx, dword [0x4b7084]
mov byte [esp + 0x298], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41960b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41960b
mov edx, dword [esp + 0x64]
lea eax, [edx - 0xc]
jmp 0x419602
mov eax, 0x4b9cb0
test eax, eax
je 0x4195a1
push 0x4b9cb0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4b9cb0
push eax
lea ecx, [esp + 0x1c]
call fcn.00406d70
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.00413dc0
mov eax, dword [eax]
push 0
push eax
push 0x15
mov ecx, 0x4c6f80
mov byte [esp + 0x2a4], 4
call fcn.00403360
mov eax, dword [esp + 0x68]
mov ecx, dword [0x4b7084]
mov byte [esp + 0x298], bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41960b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41960b
mov eax, dword [esp + 0x68]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov ecx, 0x4b9ca8
test ecx, ecx
jne 0x419618
xor eax, eax
jmp 0x419623
push 0x4b9ca8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4b9ca8
push eax
lea ecx, [esp + 0x1c]
call fcn.00406d70
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4b7084]
mov byte [esp + 0x298], 2
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4196db
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4196db
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
jmp 0x4196db
call fcn.00413450
test eax, eax
je 0x4196db
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.00413430
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esi + 8]
add esi, 8
cmp ecx, eax
je 0x4196db
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4196ab
mov edx, dword [0x4b7084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4196b2
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4196c2
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00406cb0
jmp 0x4196db
lea ecx, [esp + 0x18]
call fcn.00406f50
mov esi, dword [esi]
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x60]
inc eax
cmp eax, ebp
mov dword [esp + 0x60], eax
jl 0x4193f6
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edx - 8]
test eax, eax
je 0x419867
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x90]
push 0x100
push ecx
push 0xbe
mov dword [eax + 0x7c], 0xbf
call fcn.00406fc0
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x41975c
lea eax, [esp + 0x90]
test eax, eax
je 0x419748
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x90]
lea ecx, [esp + 0x20]
push edx
push eax
call fcn.00406cb0
jmp 0x4197aa
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00406ac0
test eax, eax
je 0x41979f
push esi
push eax
push 0xbe
call fcn.00406fc0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x41979f
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.00406ac0
test eax, eax
jne 0x419773
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00406b80
mov esi, dword [esp + 0x3c]
push 1
push 1
lea eax, [esp + 0x34]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.00426360
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
sub eax, edx
lea edx, [esp + 0x2c]
push eax
push 0
push edx
call edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x38]
add eax, 0x14
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], edx
cmp eax, ecx
je 0x419852
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x419820
mov edx, dword [0x4b7084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x419827
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x419837
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00406cb0
jmp 0x419852
lea ecx, [esp + 0x20]
call fcn.00406f50
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
push 1
lea eax, [esp + 0x74]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
jmp 0x41991d
lea edx, [esp + 0x90]
push 0x100
push edx
push 0x9c
call fcn.00406fc0
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x4198bb
lea edx, [esp + 0x90]
test edx, edx
jne 0x419899
xor eax, eax
jmp 0x4198a7
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00406cb0
jmp 0x419909
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00406ac0
test eax, eax
je 0x4198fe
push esi
push eax
push 0x9c
call fcn.00406fc0
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x4198fe
add esi, 0x100
lea ecx, [esp + 0x20]
lea eax, [esi - 1]
push eax
call fcn.00406ac0
test eax, eax
jne 0x4198d2
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00406b80
mov esi, dword [esp + 0x3c]
push 1
push 1
lea ecx, [esp + 0x34]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.00426360
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x419ad3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub eax, ecx
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
call edi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov edx, dword [0x4b7080]
add eax, 0x14
add ecx, 0x14
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x10], edx
lea eax, [esp + 0x90]
push 0x100
push eax
push 0x9d
mov byte [esp + 0x2a4], 6
call fcn.00406fc0
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x4199d7
lea edx, [esp + 0x90]
test edx, edx
jne 0x4199b5
xor eax, eax
jmp 0x4199c3
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00406cb0
jmp 0x419a29
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00406ac0
test eax, eax
je 0x419a1a
push esi
push eax
push 0x9d
call fcn.00406fc0
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x419a1a
add esi, 0x100
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push eax
call fcn.00406ac0
test eax, eax
jne 0x4199ee
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00406b80
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00406d70
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x419a8d
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x419a5b
mov edx, dword [0x4b7084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x419a62
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x419a72
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00406cb0
jmp 0x419a8d
lea ecx, [esp + 0x20]
call fcn.00406f50
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
push 1
lea eax, [esp + 0x74]
push 0x30
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.00426360
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4b7084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x419ad3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419ad3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add eax, 0x50
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
add eax, 0x14
mov dword [esp + 0x8c], edx
add ecx, 0xa
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], ecx
add ecx, 0xc8
test eax, eax
mov dword [esp + 0x88], ecx
je 0x419c0d
mov eax, dword [0x4b7080]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x90]
push 0x100
push ecx
push 0x9e
mov byte [esp + 0x2a4], 7
call fcn.00406fc0
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x419b76
lea eax, [esp + 0x90]
lea ecx, [esp + 0x10]
push eax
call fcn.00405d80
jmp 0x419bc4
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00406ac0
test eax, eax
je 0x419bb9
push esi
push eax
push 0x9e
call fcn.00406fc0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x419bb9
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00406ac0
test eax, eax
jne 0x419b8d
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00406b80
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push 0x7e
call fcn.00419d90
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4b7084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x419c0d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419c0d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov ecx, dword [0x4b7080]
xor ebp, ebp
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x5c]
xor edi, edi
test eax, eax
mov byte [esp + 0x298], 8
jle 0x419cfc
mov bl, 9
mov ecx, dword [esp + 0x7c]
push edi
call fcn.0041b6e0
mov esi, eax
test esi, esi
je 0x419cef
mov ecx, esi
call fcn.00413420
test eax, eax
je 0x419cef
push 0x14
lea edx, [esp + 0x84]
push 0
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, esi
call fcn.00413430
mov eax, dword [eax + 8]
lea ecx, [esp + 0x58]
push eax
push 0x9f
push ecx
call fcn.00407e70
add esp, 0xc
mov ecx, esi
call fcn.004135c0
test eax, eax
je 0x419cef
lea edx, [esp + 0x40]
mov ecx, esi
push edx
call fcn.00413dc0
mov eax, dword [eax]
push 0
push eax
push 0x26
mov ecx, 0x4c6f80
mov byte [esp + 0x2a4], bl
call fcn.00403360
lea ecx, [esp + 0x40]
mov byte [esp + 0x298], 8
call fcn.0040c0e0
mov ecx, esi
inc ebp
call fcn.00413430
mov eax, dword [eax + 0x94]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x5c]
lea eax, [edi + 0x2968]
push edx
push eax
call fcn.00419d90
mov eax, dword [esp + 0x5c]
inc edi
cmp edi, eax
jl 0x419c31
mov eax, dword [esp + 0x5c]
push 0
cmp ebp, eax
push 0
jne 0x419d0c
push 0x10
jmp 0x419d0e
push 0x11
mov ecx, 0x4c6f80
call fcn.00403360
mov ecx, dword [esp + 0x3c]
call fcn.00425b90
lea ecx, [esp + 0x58]
mov byte [esp + 0x298], 2
call fcn.0040c0e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 1
call fcn.0040c0e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x298], 0
call fcn.0040c0e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00432ed0
mov eax, 1
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c
ret