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

Disassembly:
push 0xffffffffffffffff
push 0x44b48e
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0xac]
mov dword [esp + 0x1c], ebx
call fcn.00410cb0
mov dword [esp + 0x1bc], ebx
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov ecx, esi
mov edi, eax
mov dword [esp + 0x1bc], 0xffffffff
call fcn.00411b90
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x74]
mov dword [esp + 0x1bc], 1
call fcn.00410cb0
mov byte [esp + 0x1bc], 2
mov esi, dword [eax]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41f20a
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push edi
push esi
call edx
lea ecx, [esp + 0x74]
mov esi, eax
mov byte [esp + 0x1bc], 1
call fcn.00411b90
cmp esi, 0xffffffff
je 0x41fc9f
cmp esi, ebx
jbe 0x41fc9f
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41fca3
lea esi, [esp + 0x74]
lea eax, [esp + 0x20]
call fcn.0040c410
mov byte [esp + 0x1bc], 3
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov edi, eax
shr edi, 2
mov ecx, esi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x1bc], 1
call fcn.00411b90
lea esi, [esp + 0x18c]
lea eax, [esp + 0x20]
call fcn.0040c410
mov byte [esp + 0x1bc], 4
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov ecx, esi
mov dword [esp + 0x70], eax
mov byte [esp + 0x1bc], 1
call fcn.00411b90
mov dword [esp + 0x44], ebx
cmp edi, ebx
jbe 0x41fc9f
xor edi, edi
mov dword [esp + 0x18], edi
lea esi, [esp + 0x17c]
call fcn.00410cb0
mov byte [esp + 0x1bc], 6
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
or dword [esp + 0x1c], 1
cmp eax, edi
je 0x41f2f9
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [edx + ecx*4]
mov dword [esp + 0x1c], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
push edx
push esi
call eax
test eax, eax
mov eax, dword [esp + 0x18]
je 0x41f326
cmp eax, edi
je 0x41f326
mov bl, 1
jmp 0x41f328
xor bl, bl
mov dword [esp + 0x1bc], 5
test byte [esp + 0x1c], 1
je 0x41f34f
and dword [esp + 0x1c], 0xfffffffe
lea ecx, [esp + 0x17c]
call fcn.00411b90
mov eax, dword [esp + 0x18]
test bl, bl
je 0x41fc76
lea ecx, [esp + 0x50]
push ecx
call fcn.00422950
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
lea esi, [esp + 0x19c]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1bc], 0xa
mov esi, dword [eax]
mov eax, dword [esp + 0x28]
or dword [esp + 0x1c], 2
cmp eax, edi
je 0x41f39c
mov dword [esp + 0x28], edi
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea edx, [esp + 0x28]
mov dword [esp + 0x28], edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x70]
push edx
push esi
call eax
test eax, eax
je 0x41f3bb
cmp dword [esp + 0x28], edi
je 0x41f3bb
mov bl, 1
jmp 0x41f3bd
xor bl, bl
mov dword [esp + 0x1bc], 9
test byte [esp + 0x1c], 2
je 0x41f3e0
and dword [esp + 0x1c], 0xfffffffd
lea ecx, [esp + 0x19c]
call fcn.00411b90
test bl, bl
je 0x41f5ba
lea esi, [esp + 0x16c]
lea eax, [esp + 0x28]
call fcn.0040c410
mov byte [esp + 0x1bc], 0xb
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov edi, eax
shr edi, 2
mov ecx, esi
mov dword [esp + 0x34], edi
mov byte [esp + 0x1bc], 9
call fcn.00411b90
lea esi, [esp + 0xec]
lea eax, [esp + 0x28]
call fcn.0040c410
mov byte [esp + 0x1bc], 0xc
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov ecx, esi
mov dword [esp + 0x30], eax
mov byte [esp + 0x1bc], 9
call fcn.00411b90
xor ebp, ebp
test edi, edi
jbe 0x41f5ba
push 0x50
call fcn.0043154a
add esp, 4
test eax, eax
je 0x41f47a
mov esi, eax
call fcn.0042bda0
mov edi, eax
jmp 0x41f47c
xor edi, edi
lea esi, [esp + 0xbc]
lea eax, [esp + 0x18]
mov dword [esp + 0x38], edi
call fcn.0040c410
mov ebx, dword [eax]
lea esi, [esp + 0x10c]
lea eax, [esp + 0x18]
call fcn.0040c410
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x14c]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1bc], 0xf
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
mov esi, dword [eax]
push ebx
call edx
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + ebp*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x80]
mov dword [esp + 0x50], ecx
call eax
mov edx, dword [ebx + ebp*4]
mov ecx, dword [esi]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x78]
push esi
call eax
lea edx, [edi + 0x40]
test eax, eax
jne 0x41f504
xor ecx, ecx
jmp 0x41f51f
mov ecx, eax
lea ebx, [ecx + 2]
lea esp, [esp]
mov si, word [ecx]
add ecx, 2
test si, si
jne 0x41f510
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
mov eax, edx
call fcn.004038a0
mov esi, edi
call fcn.00422de0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov dword [edi + 0x2c], ecx
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [edi + 0x4c], ecx
lea ecx, [esp + 0x14c]
mov word [edi + 0x44], dx
mov dword [edi + 0x48], eax
mov byte [esp + 0x1bc], 0xe
call fcn.00411b90
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1bc], 0xd
call fcn.00411b90
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1bc], 9
call fcn.00411b90
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.004181e0
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00422b30
mov dword [edi], esi
mov eax, dword [esi + 4]
inc ebp
mov dword [eax], esi
cmp ebp, dword [esp + 0x34]
jb 0x41f461
lea esi, [esp + 0x12c]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1bc], 0x10
mov esi, dword [eax]
mov eax, dword [esp + 0x24]
or dword [esp + 0x1c], 4
xor ebp, ebp
cmp eax, ebp
je 0x41f5ef
mov dword [esp + 0x24], ebp
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebp
mov ecx, dword [esi]
mov eax, dword [ecx + 0x54]
push edx
push esi
call eax
test eax, eax
je 0x41f60e
cmp dword [esp + 0x24], ebp
je 0x41f60e
mov bl, 1
jmp 0x41f610
xor bl, bl
mov dword [esp + 0x1bc], 9
test byte [esp + 0x1c], 4
je 0x41f633
and dword [esp + 0x1c], 0xfffffffb
lea ecx, [esp + 0x12c]
call fcn.00411b90
test bl, bl
je 0x41f806
lea esi, [esp + 0xcc]
lea eax, [esp + 0x24]
call fcn.0040c410
mov byte [esp + 0x1bc], 0x11
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov edi, eax
shr edi, 2
mov ecx, esi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1bc], 9
call fcn.00411b90
lea esi, [esp + 0xdc]
lea eax, [esp + 0x24]
call fcn.0040c410
mov byte [esp + 0x1bc], 0x12
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov ecx, esi
mov dword [esp + 0x34], eax
mov byte [esp + 0x1bc], 9
call fcn.00411b90
cmp edi, ebp
jbe 0x41f806
push 0x50
call fcn.0043154a
add esp, 4
test eax, eax
je 0x41f6cb
mov esi, eax
call fcn.0042bda0
mov edi, eax
jmp 0x41f6cd
xor edi, edi
lea esi, [esp + 0x13c]
lea eax, [esp + 0x18]
mov dword [esp + 0x30], edi
call fcn.0040c410
mov ebx, dword [eax]
lea esi, [esp + 0x11c]
lea eax, [esp + 0x18]
call fcn.0040c410
mov eax, dword [eax]
mov dword [esp + 0x38], eax
lea esi, [esp + 0xfc]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1bc], 0x15
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
mov esi, dword [eax]
push ebx
call edx
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + ebp*4]
push eax
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x64]
push ecx
call eax
mov edx, dword [ebx + ebp*4]
mov ecx, dword [esi]
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x5c]
push esi
call eax
lea edx, [edi + 0x40]
test eax, eax
jne 0x41f752
xor ecx, ecx
jmp 0x41f766
mov ecx, eax
lea ebx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
test si, si
jne 0x41f757
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
mov eax, edx
call fcn.004038a0
mov esi, edi
call fcn.00422de0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x2c], ecx
mov ecx, dword [esp + 0x48]
mov edx, 1
mov dword [edi + 0x4c], ecx
lea ecx, [esp + 0xfc]
mov word [edi + 0x44], dx
mov dword [edi + 0x48], eax
mov byte [esp + 0x1bc], 0x14
call fcn.00411b90
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1bc], 0x13
call fcn.00411b90
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1bc], 9
call fcn.00411b90
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.004181e0
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00422b30
mov dword [edi], esi
mov eax, dword [esi + 4]
inc ebp
mov dword [eax], esi
cmp ebp, dword [esp + 0x2c]
jb 0x41f6b2
xor ebp, ebp
cmp dword [esp + 0x68], ebp
jne 0x41f865
mov byte [esp + 0x1bc], 8
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x41f824
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x1bc], 7
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x41f83c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x50]
call fcn.00422a00
mov eax, dword [esp + 0x50]
push eax
call fcn.004307d4
mov byte [esp + 0x1c0], 1
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebp
jmp 0x41fc80
push 0x54
mov dword [esp + 0x88], ebp
call fcn.0043154a
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x1bc], 0x16
cmp eax, ebp
je 0x41f88e
push eax
call fcn.00406900
jmp 0x41f890
xor eax, eax
mov byte [esp + 0x1bc], 9
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c4]
push 0xffffffffffffffff
mov dword [eax + 0x380], 0x1c
lea ecx, [eax + 0x2b8]
push 1
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x98], 0xa
mov dword [esp + 0x9c], 6
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], 3
call fcn.004189a0
lea esi, [esp + 0x15c]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1bc], 0x17
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov esi, dword [esp + 0x88]
push eax
push esi
call fcn.00403c10
lea ecx, [esp + 0x15c]
mov byte [esp + 0x1bc], 9
call fcn.00411b90
mov eax, dword [0x45ff04]
mov dword [esi + 0x38], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov eax, 0x444444
cmp dword [esi + 0x3c], eax
je 0x41f971
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x3c], eax
cmp ecx, ebp
je 0x41f971
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push ebp
push ebp
push ebp
push esi
call eax
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov esi, dword [esp + 0x64]
test edi, edi
je 0x41f991
cmp edi, dword [esp + 0x50]
je 0x41f996
call fcn.00431380
cmp ebx, esi
je 0x41fc2a
push 0x60
call fcn.00430759
add esp, 4
xor ebp, ebp
lea esi, [eax + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
lea esp, [esp]
mov edx, dword [esp + 0x64]
mov dword [esp + 0xa8], edx
test edi, edi
je 0x41f9d5
cmp edi, dword [esp + 0x50]
je 0x41f9da
call fcn.00431380
cmp ebx, dword [esp + 0xa8]
je 0x41fbee
cmp ebp, 3
jge 0x41fbee
mov dword [esi - 8], ebp
test edi, edi
jne 0x41fb7a
call fcn.00431380
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x41fa0c
call fcn.00431380
mov eax, dword [ebx + 8]
mov dword [esi - 4], eax
mov dword [esi], 0xa
mov dword [esi + 4], 4
test edi, edi
jne 0x41fb81
call fcn.00431380
cmp ebx, dword [edi + 0x14]
jne 0x41fa36
call fcn.00431380
mov esi, dword [ebx + 8]
mov edi, dword [esi + 0x3c]
call fcn.0040c470
mov ecx, dword [esi + 0x40]
mov edi, dword [edi + 0xc]
mov ebp, dword [ecx - 0xc]
add esi, 0x40
mov eax, ecx
sub eax, 0x10
add edi, 5
cmp dword [eax + 0xc], 1
jle 0x41fa65
mov edx, dword [eax + 4]
push edx
push esi
call fcn.00403780
mov esi, dword [esi]
mov ebx, dword [0x45ff00]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41fab9
mov eax, dword [0x4603a8]
push ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov eax, ebp
cmp ebp, 0xffffffff
jne 0x41fa95
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [0x4603a8]
lea ecx, [esp + 0xac]
push ecx
push eax
push esi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x4603a8]
push ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, 0xd2
sub ecx, dword [esp + 0xac]
sub ecx, edi
test ecx, ecx
jle 0x41fb8f
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x41fb88
call fcn.00431380
xor eax, eax
mov esi, dword [esp + 0x40]
cmp esi, dword [eax + 0x14]
jne 0x41faf0
call fcn.00431380
mov esi, dword [esi + 8]
mov edi, dword [esi + 0x3c]
call fcn.0040c470
mov edx, dword [esi + 0x40]
mov edi, dword [edi + 0xc]
mov ebp, dword [edx - 0xc]
add esi, 0x40
mov eax, edx
sub eax, 0x10
add edi, 5
cmp dword [eax + 0xc], 1
jle 0x41fb1f
mov eax, dword [eax + 4]
push eax
push esi
call fcn.00403780
mov esi, dword [esi]
mov ebx, dword [0x45ff00]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41fb71
mov ecx, dword [0x4603a8]
push ebx
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov eax, ebp
cmp ebp, 0xffffffff
jne 0x41fb50
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x74]
push edx
push eax
mov eax, dword [0x4603a8]
push esi
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [0x4603a8]
push ebx
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x74]
lea eax, [edx + edi]
jmp 0x41fb94
mov eax, dword [edi]
jmp 0x41fa02
mov edi, dword [edi]
jmp 0x41fa2c
mov eax, dword [eax]
jmp 0x41fae2
mov eax, 0xd2
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], 0x1c
mov dword [ecx + 0x14], 9
add ecx, 0x20
mov dword [esp + 0x2c], ecx
test eax, eax
jne 0x41fbea
call fcn.00431380
xor eax, eax
mov esi, dword [esp + 0x40]
cmp esi, dword [eax + 0x14]
jne 0x41fbd1
call fcn.00431380
mov eax, dword [esi]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov ebx, eax
jmp 0x41f9c0
mov eax, dword [eax]
jmp 0x41fbc3
mov eax, dword [0x45f244]
mov ecx, dword [esp + 0x1c4]
mov esi, dword [esp + 0x34]
inc eax
push eax
push ebp
mov dword [ecx + 0x380], 0x28
push esi
add ecx, 0x2b8
mov dword [0x45f244], eax
call fcn.004189a0
push esi
call fcn.004308e1
add esp, 4
jmp 0x41f983
mov byte [esp + 0x1bc], 8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41fc42
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x1bc], 7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41fc5a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x50]
call fcn.00422a00
mov eax, dword [esp + 0x50]
push eax
call fcn.004307d4
mov eax, dword [esp + 0x1c]
add esp, 4
xor edi, edi
mov byte [esp + 0x1bc], 1
cmp eax, edi
je 0x41fc8a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x6c]
jb 0x41f2c4
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1bc], 0xffffffff
cmp eax, ebx
je 0x41fcba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1ac
ret 4