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

Disassembly:
push 0xffffffffffffffff
push 0x499336
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x4c3994]
push edi
mov edi, dword [ecx + 0x5c]
mov eax, dword [ecx + edi*8 + 0xa0]
mov edx, dword [ecx + edi*8 + 0xa4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + edi*8 + 0xc0a8]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + edi*8 + 0xc0ac]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + edi*4 + 0x80a0]
mov dword [esp + 0x2c], edx
cdq
mov ebp, eax
mov eax, dword [ecx + edi*4 + 0x140a8]
mov ebx, edx
mov dword [ecx + 0x10c818], 1
cdq
mov dword [esp + 0x14], eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [0x4c3994]
mov edi, edx
mov ecx, dword [eax + 0x9c]
mov edx, dword [eax + 0x98]
push ecx
push edx
call fcn.0040cdb0
add esp, 0xc
lea eax, [esp + 0x68]
lea ecx, [esi + 0x194]
push eax
call fcn.0047386e
mov eax, dword [0x4c3994]
lea ecx, [esp + 0x68]
push ecx
mov edx, dword [eax + 0xc0a4]
mov eax, dword [eax + 0xc0a0]
push edx
push eax
call fcn.0040cdb0
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esi + 0x19c]
call fcn.0047386e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
push eax
push ecx
call fcn.0040cdb0
add esp, 0xc
lea edx, [esp + 0x68]
lea ecx, [esi + 0x198]
push edx
call fcn.0047386e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
call fcn.0040cdb0
add esp, 0xc
lea eax, [esp + 0x68]
lea ecx, [esi + 0x1a0]
push eax
call fcn.0047386e
push ebx
push ebp
lea ecx, [esp + 0x70]
push str._d_s
push ecx
call fcn.00445f52
add esp, 0x10
mov edx, dword [0x4c3994]
mov ecx, dword [edx + 0x7c]
lea eax, [edx + 0x78]
cmp ecx, ebx
jg 0x41f669
jl 0x41f664
mov edx, dword [eax]
cmp edx, ebp
jae 0x41f669
mov dword [eax], ebp
mov dword [eax + 4], ebx
lea eax, [esp + 0x68]
lea ecx, [esi + 0x190]
push eax
call fcn.0047386e
mov ebx, dword [esp + 0x14]
push edi
push ebx
lea ecx, [esp + 0x70]
push str._d_s
push ecx
call fcn.00445f52
mov edx, dword [0x4c3994]
add esp, 0x10
mov ecx, dword [edx + 0x84]
lea eax, [edx + 0x80]
cmp ecx, edi
jg 0x41f6b4
jl 0x41f6af
mov edx, dword [eax]
cmp edx, ebx
jae 0x41f6b4
mov dword [eax], ebx
mov dword [eax + 4], edi
lea eax, [esp + 0x68]
lea ecx, [esi + 0x1a4]
push eax
call fcn.0047386e
mov edx, dword [0x4c3994]
mov ecx, 0x14
mov eax, dword [edx + 0x88]
mov edx, dword [edx + 0x8c]
call fcn.00446c20
push edx
push eax
lea ecx, [esp + 0x70]
push str._I64d_MB
push ecx
call fcn.00445f52
add esp, 0x10
lea edx, [esp + 0x68]
lea ecx, [esi + 0x1a8]
push edx
call fcn.0047386e
mov edx, dword [0x4c3994]
mov ecx, 0x14
mov eax, dword [edx + 0x90]
mov edx, dword [edx + 0x94]
call fcn.00446c20
push edx
push eax
lea eax, [esp + 0x70]
push str._I64d_MB
push eax
call fcn.00445f52
add esp, 0x10
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esi + 0x1ac]
call fcn.0047386e
mov ecx, dword [0x4c3994]
mov eax, dword [ecx + 0x5c]
add eax, 0xa
and eax, 0x80000fff
jns 0x41f75e
dec eax
or eax, 0xfffff000
inc eax
xor ebp, ebp
mov dword [ecx + eax*8 + 0xc0a8], ebp
mov edx, dword [0x4c3994]
mov dword [edx + eax*8 + 0xc0ac], ebp
mov ecx, dword [0x4c3994]
mov dword [ecx + eax*8 + 0xa0], ebp
mov edx, dword [0x4c3994]
mov dword [edx + eax*8 + 0xa4], ebp
mov ecx, dword [0x4c3994]
mov dword [ecx + eax*4 + 0x140a8], ebp
mov edx, dword [0x4c3994]
mov dword [edx + eax*4 + 0x80a0], ebp
mov eax, dword [0x4c3994]
mov ecx, dword [eax + 0x5c]
inc ecx
and ecx, 0x80000fff
jns 0x41f7c1
dec ecx
or ecx, 0xfffff000
inc ecx
mov dword [eax + 0x5c], ecx
mov eax, dword [0x4c3994]
mov dword [esp + 0x1c], ebp
mov ebx, dword [eax + 0x10c1c8]
mov edx, ebx
mov dword [esp + 0x14], ebx
sub edx, ebx
mov dword [eax + 0x10c1c8], edx
mov eax, dword [0x4c3994]
mov edi, dword [eax + 0x10c1cc]
mov eax, dword [eax + 0x10c1d0]
cmp edi, eax
mov dword [esp + 0x28], edi
je 0x41f813
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x14], ecx
jns 0x41f80f
mov eax, ecx
add eax, 0xc8
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0xec]
push ebp
add eax, 0x60
push ebp
push 0x1004
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
cmp ebx, ebp
mov dword [esp + 0x10], ecx
jle 0x41f99b
mov eax, dword [0x4c3994]
xor edi, edi
cmp ecx, ebp
jle 0x41f8d5
xor ebp, ebp
test ebx, ebx
jle 0x41f8cc
mov ecx, dword [eax + 0x10c1d0]
push edi
lea ebx, [ecx + ebp]
mov ecx, dword [esi + 0xec]
add ecx, 0x60
call fcn.0046cb89
mov edx, eax
shl edx, 5
sub edx, eax
lea ecx, [eax + edx*8]
mov eax, dword [0x4c3994]
mov edx, dword [eax + ecx*4 + 0xdb7a4]
mov ecx, dword [eax + ebx*8 + 0x10c1d8]
cmp edx, ecx
jne 0x41f8bd
cmp dword [eax + ebx*8 + 0x10c1d4], 2
jne 0x41f8bd
mov eax, dword [esi + 0xec]
push 0
add eax, 0x60
push edi
push 0x1008
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
dec edi
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [0x4c3994]
mov ecx, dword [esp + 0x14]
inc ebp
cmp ebp, ecx
jl 0x41f850
mov ebx, ecx
mov ecx, dword [esp + 0x10]
inc edi
cmp edi, ecx
jl 0x41f84a
xor ebp, ebp
xor edi, edi
cmp ebx, ebp
mov dword [esp + 0x10], edi
jle 0x41f9a2
jmp 0x41f8ee
mov eax, dword [0x4c3994]
xor ebp, ebp
mov ecx, dword [eax + 0x10c1d0]
add ecx, edi
cmp dword [eax + ecx*8 + 0x10c1d4], 1
jne 0x41f912
mov edx, dword [eax + ecx*8 + 0x10c1d8]
push edx
call fcn.0041e880
add esp, 4
jmp 0x41f988
mov eax, dword [eax + ecx*8 + 0x10c1d8]
push eax
call fcn.0041e990
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x41f988
mov eax, dword [esi + 0xec]
push ebp
add eax, 0x60
push ebp
push 0x1004
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x41f984
mov ecx, dword [esi + 0xec]
push edi
add ecx, 0x60
call fcn.0046cb89
cmp eax, dword [esp + 0x14]
jl 0x41f97f
mov ecx, dword [esi + 0xec]
add ecx, 0x60
dec eax
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
call fcn.0046c9fb
inc edi
cmp edi, ebp
jl 0x41f94d
mov edi, dword [esp + 0x10]
inc edi
cmp edi, ebx
mov dword [esp + 0x10], edi
jl 0x41f8e7
mov edi, dword [esp + 0x28]
xor ebp, ebp
mov eax, dword [0x4c3994]
jmp 0x41f9a6
mov edi, dword [esp + 0x28]
mov dword [eax + 0x10c1d0], edi
mov eax, dword [0x4c3994]
mov dword [esp + 0x14], ebp
cmp dword [eax + 0xdb7a0], ebp
jle 0x41fc95
xor edi, edi
cmp word [edi + eax + 0xdbb34], 0
lea ecx, [edi + eax + 0xdbb34]
jne 0x41f9e9
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [0x4c3994]
mov dword [esp + 0x1c], 1
mov edx, dword [edi + eax + 0xdb7a4]
push edx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x41fb32
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
test eax, eax
je 0x41fb38
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41faab
mov eax, dword [0x4c3994]
mov edx, dword [esp + 0x30]
mov dword [edi + eax + 0xdbb44], edx
mov edx, dword [0x4c3994]
mov ecx, dword [esp + 0x34]
mov dword [edi + edx + 0xdbb48], ecx
mov ecx, dword [0x4c3994]
mov eax, dword [esp + 0x48]
mov dword [edi + ecx + 0xdbb54], eax
mov eax, dword [0x4c3994]
mov edx, dword [esp + 0x4c]
mov dword [edi + eax + 0xdbb58], edx
mov edx, dword [0x4c3994]
mov ecx, dword [esp + 0x38]
mov dword [edi + edx + 0xdbb4c], ecx
mov ecx, dword [0x4c3994]
mov eax, dword [esp + 0x3c]
mov dword [edi + ecx + 0xdbb50], eax
mov eax, dword [0x4c3994]
mov edx, dword [esp + 0x50]
mov dword [edi + eax + 0xdbb5c], edx
mov edx, dword [0x4c3994]
mov ecx, dword [esp + 0x54]
mov dword [edi + edx + 0xdbb60], ecx
mov ecx, dword [0x4c3994]
mov eax, dword [esp + 0x30]
mov dword [edi + ecx + 0xdbb64], eax
mov eax, dword [0x4c3994]
mov edx, dword [esp + 0x34]
mov dword [edi + eax + 0xdbb68], edx
mov edx, dword [0x4c3994]
mov ecx, dword [esp + 0x48]
mov dword [edi + edx + 0xdbb74], ecx
mov ecx, dword [0x4c3994]
mov eax, dword [esp + 0x4c]
mov dword [edi + ecx + 0xdbb78], eax
mov eax, dword [0x4c3994]
mov edx, dword [esp + 0x38]
mov dword [edi + eax + 0xdbb6c], edx
mov edx, dword [0x4c3994]
mov ecx, dword [esp + 0x3c]
mov dword [edi + edx + 0xdbb70], ecx
mov ecx, dword [0x4c3994]
mov eax, dword [esp + 0x50]
mov dword [edi + ecx + 0xdbb7c], eax
mov eax, dword [0x4c3994]
mov edx, dword [esp + 0x54]
mov dword [edi + eax + 0xdbb80], edx
jmp 0x41fb38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 0xec]
push 0
add eax, 0x60
push 0
push 0x1004
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov eax, dword [0x4c3994]
mov edx, dword [edi + eax + 0xdbb84]
lea ecx, [edi + eax + 0xdbb84]
test edx, edx
jne 0x41fc78
mov edx, dword [esi + 0x90]
mov ebp, dword [edx + 0x26c]
test ebp, ebp
je 0x41fbdb
mov ebp, dword [edi + eax + 0xdbb64]
mov edx, dword [edi + eax + 0xdbb44]
sub ebp, edx
mov edx, dword [edi + eax + 0xdbb68]
sbb edx, dword [edi + eax + 0xdbb48]
test edx, edx
jg 0x41fbdb
jl 0x41fba9
test ebp, ebp
ja 0x41fbdb
mov edx, dword [edi + eax + 0xdbb6c]
mov ebp, dword [edi + eax + 0xdbb4c]
sub edx, ebp
mov ebp, dword [edi + eax + 0xdbb70]
sbb ebp, dword [edi + eax + 0xdbb50]
mov dword [esp + 0x2c], ebp
js 0x41fc78
jg 0x41fbdb
test edx, edx
jbe 0x41fc78
mov dword [ecx], 1
mov eax, dword [0x4bfcf8]
mov dword [esp + 0x10], eax
mov ecx, dword [0x4c3994]
lea eax, [esp + 0x10]
mov dword [esp + 0xec], 0
lea edx, [edi + ecx + 0xdb8ac]
push edx
push 0x4be39c
push eax
call fcn.0046c3e9
mov ecx, dword [0x4c3994]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edi + ecx + 0xdbb30]
mov ecx, dword [esi + 0xec]
push 0
push eax
push 0
push 0
push edx
push ebx
add ecx, 0x60
push 3
call fcn.0046c979
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xec]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
add ecx, 0x60
push ebx
call fcn.0046c9fb
lea ecx, [esp + 0x10]
mov dword [esp + 0xec], 0xffffffff
call fcn.004736e5
mov eax, dword [0x4c3994]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0xdb7a0]
inc ecx
add edi, 0x3e4
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x41f9c3
xor edi, edi
mov dword [eax + 0x10c1c4], edi
mov eax, dword [esi + 0xec]
add eax, 0x60
push edi
push edi
push 0x1004
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x1c], ebx
jle 0x41fe81
mov ecx, dword [esi + 0xec]
push edi
add ecx, 0x60
call fcn.0046cb89
mov ecx, dword [0x4c3994]
mov edx, eax
shl edx, 5
sub edx, eax
lea eax, [eax + edx*8]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 0xdbb64]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xdbb68]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 0xdbb74]
mov dword [esp + 0x48], ebp
mov ebp, dword [eax + 0xdbb78]
mov dword [esp + 0x4c], ebp
mov ebp, dword [eax + 0xdbb6c]
mov dword [esp + 0x38], ebp
mov ebp, dword [eax + 0xdbb70]
mov dword [esp + 0x3c], ebp
mov ebp, dword [eax + 0xdbb7c]
mov dword [esp + 0x50], ebp
mov ebp, dword [eax + 0xdbb80]
mov dword [esp + 0x54], ebp
mov ebp, dword [esi + 0x90]
cmp dword [ebp + 0x260], 0
je 0x41fdc2
mov ebx, dword [eax + 0xdbb44]
mov ebp, dword [esp + 0x48]
sub ecx, ebx
mov dword [esp + 0x30], ecx
mov ebx, dword [eax + 0xdbb48]
sbb edx, ebx
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0xdbb54]
sub ebp, ebx
mov dword [esp + 0x48], ebp
mov ebx, dword [eax + 0xdbb58]
mov ebp, dword [esp + 0x4c]
sbb ebp, ebx
mov dword [esp + 0x4c], ebp
mov ebx, dword [eax + 0xdbb4c]
mov ebp, dword [esp + 0x38]
sub ebp, ebx
mov dword [esp + 0x38], ebp
mov ebx, dword [eax + 0xdbb50]
mov ebp, dword [esp + 0x3c]
sbb ebp, ebx
mov dword [esp + 0x3c], ebp
mov ebx, dword [eax + 0xdbb5c]
mov ebp, dword [esp + 0x50]
sub ebp, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], ebp
mov eax, dword [eax + 0xdbb60]
sbb ebx, eax
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x1c]
push edx
push ecx
lea ecx, [esp + 0x70]
push 0x4ba2f4
push ecx
call fcn.00445f52
mov ecx, dword [esi + 0xec]
add esp, 0x10
lea edx, [esp + 0x68]
add ecx, 0x60
push edx
push 1
push edi
call fcn.0046ca74
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
call fcn.0040ce80
mov ecx, dword [esi + 0xec]
add esp, 0xc
lea eax, [esp + 0x68]
add ecx, 0x60
push eax
push 2
push edi
call fcn.0046ca74
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0x70]
push 0x4ba2f4
push eax
call fcn.00445f52
add esp, 0x10
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esi + 0xec]
push 3
push edi
add ecx, 0x60
call fcn.0046ca74
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x68]
push edx
push eax
push ecx
call fcn.0040ce80
mov ecx, dword [esi + 0xec]
add esp, 0xc
lea edx, [esp + 0x68]
add ecx, 0x60
push edx
push 4
push edi
call fcn.0046ca74
inc edi
cmp edi, ebx
jl 0x41fcc5
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [0x4c3994]
mov ecx, dword [eax + 0x180f4]
mov edx, dword [eax + 0x180ec]
add ecx, edx
mov dword [eax + 0x70], ecx
mov eax, dword [0x4c3994]
mov edx, dword [eax + 0x18144]
mov ecx, dword [eax + 0x1813c]
add edx, ecx
mov dword [eax + 0x74], edx
mov ecx, dword [esi + 0xf0]
call fcn.00424310
lea ecx, [esi + 0x110]
call fcn.00421360
lea ecx, [esi + 0xa8]
call fcn.00424b80
mov eax, dword [0x4c3994]
lea ecx, [esp + 0xd4]
push ecx
mov dword [eax + 0x10c818], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 0x60]
lea eax, [esp + 0xd4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [0x4c3994]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
push 0
mov edi, dword [edx + 0x4c]
mov ebp, dword [edx + 0x50]
sub eax, edi
push 0x989680
sbb ecx, ebp
push ecx
push eax
call fcn.00445fb0
mov ecx, dword [0x4bfcf8]
mov edi, eax
mov ebx, edx
mov dword [esp + 0x24], ecx
push 0
push 0x3c
push ebx
push edi
mov dword [esp + 0xfc], 1
call fcn.00446210
push edx
push eax
push 0
push 0x3c
push ebx
push edi
call fcn.00445fb0
push 0
push 0x3c
push edx
push eax
call fcn.00446210
push edx
push eax
push 0
push 0xe10
push ebx
push edi
call fcn.00445fb0
push edx
push eax
lea edx, [esp + 0x3c]
push str._I64d:_02I64d:_02I64d
push edx
call fcn.0046c3e9
add esp, 0x20
lea eax, [esp + 0x24]
lea ecx, [esi + 0x1b0]
push eax
call fcn.0047381e
push 0
mov ecx, esi
call fcn.00471687
lea ecx, [esp + 0x24]
mov dword [esp + 0xec], 0xffffffff
call fcn.004736e5
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret