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

Disassembly:
push 0xffffffffffffffff
push 0x545087
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esi + 0x2bc]
mov dword [esp + 0x28], esi
call fcn.0051adbc
lea ecx, [esp + 0x50]
call fcn.004733a0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x4c0], ebx
call fcn.00492220
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x1c], edi
jne 0x4927e2
lea ecx, [esp + 0x50]
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x54d7d0
call fcn.004735a0
push 0x599360
lea ecx, [esi + 0x238]
call fcn.0051ac50
push 0x599360
lea ecx, [esi + 0x274]
call fcn.0051ac50
mov dword [esi + 0x7e8], 0
mov ecx, dword [esp + 0x4ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4a8
ret
push 0x58f59c
lea ecx, [esp + 0x14]
call fcn.00519a74
mov eax, dword [0x596a5c]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x28]
push 0xffff
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
push edx
mov ecx, 0x599bf0
mov byte [esp + 0x4c8], 2
call fcn.00451440
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.00519dd2
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xac], 0
cmp eax, ebx
je 0x49283e
xor ebx, ebx
mov bl, byte [eax]
test ebx, ebx
lea ebp, [eax + 1]
jle 0x4928db
mov eax, dword [ebp]
lea ecx, [esp + 0x78]
push eax
push 0x574800
push ecx
add ebp, 4
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xac]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp ebx, 1
rep movsb byte es:[edi], byte [esi]
jle 0x4928ca
mov edi, 0x58c300
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xac]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
dec ebx
test ebx, ebx
jg 0x492849
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push eax
call fcn.004c9c50
mov esi, eax
add esp, 4
test esi, esi
je 0x492917
push 0x58f58c
lea ecx, [esp + 0x14]
call fcn.00519d96
lea eax, [esp + 0xac]
lea ecx, [esp + 0x10]
push eax
call fcn.00519d96
push 0x589474
lea ecx, [esp + 0x14]
call fcn.00519d96
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004ded00
add esp, 4
xor ebx, ebx
test esi, esi
jne 0x492f6c
cmp eax, 3
jne 0x492963
mov eax, dword [esp + 0x28]
cmp eax, 0x10003
je 0x49295c
push esi
push eax
mov ecx, 0x599bf0
call fcn.00450cd0
test eax, eax
je 0x492f6c
test byte [eax + 0x14], 0x40
je 0x492f6c
mov ebx, 1
jmp 0x49296c
cmp eax, 1
jne 0x492f6c
mov edx, dword [esp + 0x28]
mov ecx, 0x599bf0
push edx
call fcn.004109a0
mov ecx, dword [0x599fdc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x34]
push eax
push edi
push ecx
call ebp
test eax, eax
jne 0x4929d5
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.00519a06
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.00519a06
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x54d7d0
jmp 0x492f0f
lea ecx, [esp + 0x38]
mov byte [esp + 0xac], 0
lea esi, [esp + 0xac]
call fcn.004733a0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4b4], 3
cmp eax, 0x80000101
mov dword [esp + 0x18], 1
ja 0x492ce9
je 0x492cc4
add eax, 0x7ffffffe
cmp eax, 4
ja case.default.0x492a20
jmp dword [eax*4 + 0x492fe4]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.004dff90
jmp 0x492ebd
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xac]
push ecx
push edx
push eax
call fcn.004df260
add esp, 0xc
jmp 0x492ec0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push ecx
push 0x574cfc
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [esp + 0x18], 0
jmp 0x492ec0
mov ebx, dword [esp + 0x2c]
xor edi, edi
cmp ebx, edi
je 0x492aea
push 0x40a
lea ecx, [esp + 0x3c]
call fcn.004733c0
mov esi, eax
mov dword [esp + 0x18], edi
mov eax, dword [0x599fdc]
push 0
push 1
push esi
push ebx
push eax
call ebp
test eax, eax
je 0x492ac5
cmp byte [esi], 0
je 0x492b0e
inc ebx
inc esi
inc edi
cmp edi, 0x400
jl 0x492aa3
mov byte [esi], 0x20
inc esi
mov byte [esi], 0x20
inc esi
mov byte [esi], 0x2e
inc esi
mov byte [esi], 0x2e
inc esi
mov byte [esi], 0x2e
mov byte [esi + 1], 0
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004741f0
add esp, 4
test eax, eax
je 0x492ec0
push 0x58c2a8
lea ecx, [esp + 0x14]
call fcn.00519d96
jmp 0x492ec0
mov dword [esp + 0x18], 1
jmp 0x492adc
mov eax, dword [esp + 0x2c]
test eax, eax
mov ebx, eax
je 0x492cb1
mov edx, dword [0x599fdc]
push 0
lea ecx, [esp + 0x18]
push 4
add eax, 4
push ecx
push eax
push edx
call ebp
test eax, eax
je 0x492ec4
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x492ec4
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0xb0]
push 0x58c27c
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519d96
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, 0x400
setle dl
cmp eax, 0x400
mov dword [esp + 0x18], edx
jle 0x492b9b
mov dword [esp + 0x14], 0x400
lea ecx, [esp + 0x64]
call fcn.004733a0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push eax
mov byte [esp + 0x4b8], 4
call fcn.004733c0
mov ecx, dword [esp + 0x14]
mov edx, dword [0x599fdc]
mov esi, eax
push 0
push ecx
add ebx, 8
push esi
push ebx
push edx
call ebp
test eax, eax
jne 0x492bf3
lea ecx, [esp + 0x64]
mov byte [esp + 0x4b4], 3
mov dword [esp + 0x64], 0x54d7d0
call fcn.004735a0
jmp 0x492ec4
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x492c43
xor eax, eax
mov al, byte [esi]
inc esi
push eax
lea eax, [esp + 0xb0]
push 0x574cfc
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00473750
mov edx, dword [esp + 0x14]
dec edx
cmp ebx, edx
je 0x492c3a
push 0x2c
lea ecx, [esp + 0x3c]
call fcn.004736e0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x492bfd
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x492c7a
push 0x2020
lea ecx, [esp + 0x3c]
call fcn.004736a0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.004736e0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.004736e0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.004736e0
push 0
lea ecx, [esp + 0x3c]
call fcn.004736e0
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
neg esi
sbb esi, esi
lea ecx, [esp + 0x64]
and esi, eax
mov byte [esp + 0x4b4], 3
mov dword [esp + 0x64], 0x54d7d0
call fcn.004735a0
jmp 0x492ec0
push 0x58c26c
lea ecx, [esp + 0x14]
call fcn.00519d96
jmp 0x492ec0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xac]
and eax, 0xff
push eax
push 0x574cfc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x492ec0
cmp eax, 0x80000401
ja 0x492d50
je 0x492d2f
cmp eax, 0x80000201
je 0x492d17
cmp eax, 0x80000301
jne case.default.0x492a20
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.004deaa0
jmp 0x492ebd
movsx edx, word [esp + 0x2c]
lea ecx, [esp + 0xac]
push ecx
push edx
call fcn.004deaa0
jmp 0x492ebd
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push 0xa
push eax
push ecx
push edx
call fcn.00503a42
add esp, 0x10
jmp 0x492ec0
cmp eax, 0x80000501
je 0x492eab
cmp eax, 0x80000601
je 0x492e8f
test ebx, ebx
je 0x492ec4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x492d8c
mov esi, 0x58f580
jmp 0x492ec0
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, 0x599e34
call fcn.004d2e80
test eax, eax
je 0x492ec4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x492ec4
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
je 0x492e86
push 0
lea ecx, [edx + 0x14]
call fcn.004d26c0
cmp ebx, eax
je 0x492e86
mov edi, 0x58c264
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [eax + 0x14]
call fcn.004d2760
test eax, eax
je 0x492ec4
mov ecx, dword [esp + 0x1c]
push eax
add ecx, 0x14
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edi, eax
push edi
call fcn.004741f0
add esp, 4
test eax, eax
jne 0x492ec4
or ecx, 0xffffffff
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0xac]
jmp 0x492ec0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push eax
push ecx
push edx
call fcn.004df140
add esp, 0xc
jmp 0x492ec0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push eax
push ecx
call fcn.004df0b0
add esp, 8
test esi, esi
jne 0x492f21
mov esi, 0x54d7d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x4b4], 2
mov dword [esp + 0x38], esi
call fcn.004735a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.00519a06
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.00519a06
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
call fcn.004735a0
mov esi, dword [esp + 0x24]
jmp 0x49279f
push esi
mov esi, dword [esp + 0x28]
lea ecx, [esi + 0x274]
call fcn.0051ac50
mov edx, dword [esi + 0x290]
push 0
push 0
push 0xb9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esi + 0x7e8], eax
mov byte [esp + 0x4b4], 2
mov dword [esp + 0x38], 0x54d7d0
call fcn.004735a0
jmp 0x492f8e
mov eax, dword [esp + 0x24]
push 0x58f550
lea ecx, [eax + 0x274]
mov dword [eax + 0x7e8], 0
call fcn.0051ac50
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x238]
call fcn.0051ac50
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.00519a06
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.00519a06
lea ecx, [esp + 0x50]
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x54d7d0
call fcn.004735a0
jmp 0x4927c9