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

Disassembly:
push 0xffffffffffffffff
push 0x58f821
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x1c], ebx
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x100], esi
call fcn.00566653
mov dword [esp + 0x78], 0x5999c4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], esi
mov edx, dword [esp + 0x10c]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x34]
lea edi, [ebx + 0x1b04]
push eax
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x10c], 2
call fcn.004e95c0
cmp eax, 1
jne 0x4d9897
mov eax, dword [esp + 0x3c]
xor ebp, ebp
cmp eax, esi
jle 0x4d98d8
mov eax, dword [esp + 0x7c]
cmp dword [eax + ebp*4], 0
jne 0x4d9702
mov ecx, dword [ebx + 0x1b20]
push 0
push 0
push 0xe
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [ebx + 0x1b04]
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00566208
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ebp*4]
lea ecx, [edx + ebp*4]
cmp dword [eax - 8], 0xf
jl 0x4d96ec
lea edx, [esp + 0x68]
push 4
push edx
call fcn.00563a94
mov eax, dword [eax]
push 0x5e9bfc
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x68]
test eax, eax
sete byte [esp + 0x12]
call fcn.0056870c
mov al, byte [esp + 0x12]
test al, al
je 0x4d96ec
mov ecx, dword [esp + 0x38]
push 3
lea eax, [esp + 0x78]
push 0xc
push eax
lea ecx, [ecx + ebp*4]
call fcn.00563982
mov eax, dword [eax]
push 0x5e9bf8
push eax
mov byte [esp + 0x108], 3
call fcn.005503ed
add esp, 8
test eax, eax
je 0x4d9106
mov eax, dword [esp + 0x38]
push 3
lea edx, [esp + 0x70]
push 0xc
push edx
lea ecx, [eax + ebp*4]
call fcn.00563982
mov eax, dword [eax]
push 0x5e9bf4
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
sete byte [esp + 0x12]
call fcn.0056870c
mov al, byte [esp + 0x12]
mov byte [esp + 0x13], 0
test al, al
je 0x4d910b
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 2
call fcn.0056870c
mov al, byte [esp + 0x13]
test al, al
je 0x4d96ec
mov eax, dword [esp + 0x114]
test eax, eax
jne 0x4d9182
mov edx, dword [esp + 0x38]
push 8
lea ecx, [esp + 0x54]
push 4
push ecx
lea ecx, [edx + ebp*4]
call fcn.00563982
mov eax, dword [esp + 0x50]
push 0x10
push 0
push eax
mov byte [esp + 0x10c], 4
call fcn.00550858
add esp, 0xc
lea ecx, [ebx + 0x1b48]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.004dadd0
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x50]
jmp 0x4d9883
cmp eax, 1
jne 0x4d946a
mov eax, dword [esp + 0x38]
push 8
lea edx, [esp + 0x68]
push 4
push edx
lea ecx, [eax + ebp*4]
call fcn.00563982
mov ecx, dword [esp + 0x64]
push 0x10
push 0
push ecx
mov byte [esp + 0x10c], 5
call fcn.00550858
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x70]
push 3
push 0xc
push edx
lea ecx, [eax + ebp*4]
call fcn.00563982
mov eax, dword [eax]
push 0x5e9bf8
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x70]
test eax, eax
sete bl
call fcn.0056870c
push ecx
test bl, bl
mov ecx, esp
je 0x4d9332
mov dword [esp + 0x18], esp
push 0x5e9be8
call fcn.0056877a
push 0
push 2
lea ecx, [esp + 0x30]
push esi
push ecx
mov byte [esp + 0x114], 5
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov edx, dword [esp + 0x24]
mov byte [esp + 0x100], 7
push edx
call fcn.0043ea50
add esp, 4
test al, al
je 0x4d9268
push esi
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00568481
mov ecx, edi
call fcn.004ebe80
mov byte [esp + 0x100], 5
lea ecx, [esp + 0x24]
jmp 0x4d944b
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5e9bdc
call fcn.0056877a
push 0
push 2
lea ecx, [esp + 0x58]
push esi
push ecx
mov byte [esp + 0x114], 7
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x104], 9
call fcn.00568845
lea ecx, [esp + 0x4c]
mov byte [esp + 0x100], 7
call fcn.0056870c
mov edx, dword [esp + 0x24]
push edx
call fcn.0043ea50
add esp, 4
test al, al
je 0x4d92f5
push esi
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00568481
mov ecx, edi
call fcn.004ebe80
mov byte [esp + 0x100], 5
lea ecx, [esp + 0x24]
jmp 0x4d944b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x2548]
test eax, eax
je 0x4d9314
test byte [eax + 0x204], 0x10
je 0x4d9314
push esi
push str.__NF_
jmp 0x4d931a
push esi
push str.__RB_
mov ecx, edi
call fcn.004e9460
mov byte [esp + 0x100], 5
lea ecx, [esp + 0x24]
jmp 0x4d944b
mov dword [esp + 0x18], esp
push 0x5e9be8
call fcn.0056877a
push 0
push 1
lea edx, [esp + 0x2c]
push esi
push edx
mov byte [esp + 0x114], 5
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov eax, dword [esp + 0x20]
mov byte [esp + 0x100], 0xb
push eax
call fcn.0043ea50
add esp, 4
test al, al
je 0x4d9395
push esi
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004e9b00
jmp 0x4d943f
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5e9bdc
call fcn.0056877a
push 0
push 1
lea eax, [esp + 0x60]
push esi
push eax
mov byte [esp + 0x114], 0xb
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x104], 0xd
call fcn.00568845
lea ecx, [esp + 0x54]
mov byte [esp + 0x100], 0xb
call fcn.0056870c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043ea50
add esp, 4
test al, al
je 0x4d9413
push esi
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004e9b00
jmp 0x4d943f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x2548]
test eax, eax
je 0x4d9432
test byte [eax + 0x204], 0x10
je 0x4d9432
push esi
push str.__NF_
jmp 0x4d9438
push esi
push str.__RB_
mov ecx, edi
call fcn.004e9460
mov byte [esp + 0x100], 5
lea ecx, [esp + 0x20]
call fcn.0056870c
lea ecx, [esp + 0x64]
mov byte [esp + 0x100], 2
call fcn.0056870c
mov ebx, dword [esp + 0x1c]
jmp 0x4d9888
cmp eax, 2
jne 0x4d94cc
call fcn.00578d59
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 4]
push 8
lea ecx, [esp + 0x64]
mov esi, dword [eax + 0x11c]
push 4
push ecx
lea ecx, [edx + ebp*4]
call fcn.00563982
mov eax, dword [esp + 0x60]
push 0x10
push 0
push eax
mov byte [esp + 0x10c], 0xe
call fcn.00550858
add esp, 0xc
add esi, 0x13c8
mov ecx, ebx
push eax
push edi
push esi
call fcn.004dadd0
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x60]
jmp 0x4d9883
cmp eax, 3
jne 0x4d9888
mov edx, dword [esp + 0x38]
push 8
lea ecx, [esp + 0x4c]
push 4
push ecx
lea ecx, [edx + ebp*4]
call fcn.00563982
mov eax, dword [esp + 0x48]
push 0x10
push 0
push eax
mov byte [esp + 0x10c], 0xf
call fcn.00550858
mov edx, dword [esp + 0x44]
add esp, 0xc
lea ecx, [esp + 0x5c]
mov esi, eax
push 3
push 0xc
push ecx
lea ecx, [edx + ebp*4]
call fcn.00563982
mov eax, dword [eax]
push 0x5e9bf8
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x5c]
test eax, eax
sete bl
call fcn.0056870c
push ecx
test bl, bl
mov ecx, esp
je 0x4d95d4
mov dword [esp + 0x18], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push 2
lea eax, [esp + 0x38]
push esi
push eax
mov byte [esp + 0x114], 0xf
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov ecx, dword [esp + 0x2c]
push 0x5fe7d8
push ecx
mov byte [esp + 0x108], 0x11
call fcn.005503ed
add esp, 8
test eax, eax
push esi
je 0x4d95b7
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004ebe80
mov byte [esp + 0x100], 0xf
lea ecx, [esp + 0x2c]
jmp 0x4d96cd
push str.__NF_
mov ecx, edi
call fcn.004e9460
mov byte [esp + 0x100], 0xf
lea ecx, [esp + 0x2c]
jmp 0x4d96cd
mov dword [esp + 0x18], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push 1
lea eax, [esp + 0x3c]
push esi
push eax
mov byte [esp + 0x114], 0xf
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov ecx, dword [esp + 0x30]
push 0x5fe7d8
push ecx
mov byte [esp + 0x108], 0x13
call fcn.005503ed
add esp, 8
test eax, eax
je 0x4d963c
push esi
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004e9b00
jmp 0x4d96c1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push 0
lea eax, [esp + 0x34]
push esi
push eax
mov byte [esp + 0x114], 0x13
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov ecx, dword [esp + 0x28]
push 0x5fe7d8
push ecx
mov byte [esp + 0x108], 0x15
call fcn.005503ed
add esp, 8
test eax, eax
push esi
je 0x4d96a4
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004e9b00
jmp 0x4d96b0
push str.__NF_
mov ecx, edi
call fcn.004e9460
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 0x13
call fcn.0056870c
mov byte [esp + 0x100], 0xf
lea ecx, [esp + 0x30]
call fcn.0056870c
lea ecx, [esp + 0x48]
mov byte [esp + 0x100], 2
call fcn.0056870c
mov ebx, dword [esp + 0x1c]
jmp 0x4d9888
mov eax, dword [esp + 0x38]
push 0
mov ecx, edi
mov eax, dword [eax + ebp*4]
push eax
call fcn.004e9460
jmp 0x4d9888
mov ecx, dword [esp + 0x38]
lea edx, [ecx + ebp*4]
lea ecx, [esp + 0x58]
push edx
call fcn.00568481
mov edx, dword [esp + 0x108]
mov byte [esp + 0x100], 0x16
mov byte [esp + 0x13], 0
mov byte [esp + 0x1b], 0
mov ecx, dword [edx + 0x10]
mov al, byte [edx + 0x16]
cmp ecx, 0x2bc
mov byte [esp + 0x12], 0
sete cl
test al, al
je 0x4d9749
mov byte [esp + 0x13], 1
mov al, byte [edx + 0x15]
test al, al
je 0x4d9755
mov byte [esp + 0x1b], 1
mov al, byte [edx + 0x14]
test al, al
je 0x4d9761
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x8c], 0x3c
and eax, 0xbfffffff
test cl, cl
je 0x4d9785
mov esi, 0xe8000001
or al, 1
jmp 0x4d978c
mov esi, 0xe8000000
and al, 0xfe
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4d979b
or esi, 8
or al, 8
jmp 0x4d97a0
and esi, 0xfffffff7
and al, 0xf7
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x4d97af
or esi, 4
or al, 4
jmp 0x4d97b4
and esi, 0xfffffffb
and al, 0xfb
mov cl, byte [esp + 0x12]
test cl, cl
je 0x4d97ca
or esi, 2
or al, 2
mov dword [esp + 0x90], esi
jmp 0x4d97d6
and esi, 0xfffffffd
and al, 0xfd
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], eax
mov eax, dword [edx + 0x3c]
mov dword [esp + 0xa0], eax
lea edi, [edx + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0xa6]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
mov byte [esp + 0xa4], 0x86
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [edx]
and ecx, 3
mov edx, dword [ebx + 0x1b20]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
shl ecx, 4
sub ecx, eax
push 0
neg ecx
push 0xe
push edx
mov dword [esp + 0xa8], ecx
call edi
lea esi, [ebx + 0x1b04]
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00566208
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
call fcn.00566342
mov ecx, dword [esp + 0x58]
mov edx, dword [ebx + 0x1b20]
push ecx
push 0
push 0xc2
push edx
call edi
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x58]
call fcn.0056870c
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
jl 0x4d9016
jmp 0x4d98d8
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4d98d8
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x1b20]
push 0
push 0
push 0xe
push eax
call ebp
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00566208
mov ecx, dword [esp + 0x38]
push 0
mov eax, dword [ecx + esi*4]
mov ecx, edi
push eax
call fcn.004e9460
mov eax, dword [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x4d98a5
mov edx, dword [ebx + 0x1b20]
push 0
push 7
push 0x115
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x110]
test eax, eax
je 0x4d9a8d
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xbe]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5fe7d8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5f1b58
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xf4], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x150]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5f9f88]
mov dword [esp + 0xf0], eax
mov dword [esp + 0x1c], ecx
push eax
lea edx, [esp + 0x20]
push 0x5efd88
push edx
mov byte [esp + 0x10c], 0x17
call fcn.00563eb4
mov edi, dword [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xca]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add esp, 8
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x18], esp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, esp
push edx
call fcn.00568481
mov byte [esp + 0x104], 0x18
sub esp, 0x40
mov esi, dword [esp + 0x14c]
mov ecx, 0x10
mov edi, esp
lea eax, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
call fcn.00568481
push ecx
add ebx, 0x154
mov ecx, esp
mov dword [esp + 0xa0], esp
push ebx
mov byte [esp + 0x150], 0x19
call fcn.0056877a
push ecx
mov byte [esp + 0x150], 0x1a
mov ecx, esp
mov dword [esp + 0x9c], esp
push ebx
call fcn.0056877a
sub esp, 0x6c
mov ecx, 0x1b
lea esi, [esp + 0x148]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x1bc], 0x17
call fcn.0040d0d0
mov ecx, eax
call fcn.00472710
lea ecx, [esp + 0x1c]
mov byte [esp + 0x100], 2
call fcn.0056870c
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], 0x5999c4
test eax, eax
je 0x4d9aa6
push eax
call fcn.00567b2c
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x100], 0
call fcn.00566686
lea ecx, [esp + 0x10c]
mov dword [esp + 0x100], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf4
ret 0x10