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

Disassembly:
push 0xffffffffffffffff
push 0x566a4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x64], ebp
cmp esi, ebx
je 0x4ddc97
mov eax, dword [esp + 0x20c]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0xe8], ecx
lea edx, [esp + 0xe8]
mov edi, dword [eax + 0x2c]
push ebx
mov dword [esp + 0xf0], edi
mov eax, dword [esi + 0x40]
neg eax
sbb eax, eax
push edx
and eax, 0xfffff810
mov dword [esp + 0x44], edi
add eax, 0x7f6
push eax
call fcn.004df940
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x20]
push eax
call fcn.00556b2e
mov ecx, dword [esp + 0x20c]
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x204], ebx
mov edx, dword [ecx + 0x18]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x50], edx
sete cl
cmp eax, ebx
mov dword [esp + 0x38], ecx
jle 0x4dd6fb
mov edx, dword [esp + 0x20]
push 0x9dc7c8
push edx
call fcn.005381b4
add esp, 8
mov dword [esp + 0x44], 1
test eax, eax
je 0x4dd6ff
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x20c]
lea ecx, [esp + 0x10]
add eax, 0x1c
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x38], ebx
je 0x4dd729
push ebx
lea edx, [esp + 0x14]
push 1
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], ebx
cmp eax, ebx
mov dword [esp + 0x78], ebx
jne 0x4dd751
lea eax, [esp + 0x74]
mov ecx, ebp
push eax
push edi
call fcn.004defd0
test eax, eax
je 0x4dd751
mov edi, 1
jmp 0x4dd753
xor edi, edi
mov eax, dword [esp + 0x50]
lea ecx, [esi + 0x1a8]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004e17c0
cmp edi, ebx
mov byte [esp + 0x204], 1
je 0x4dd7dc
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, ebp
call fcn.004df040
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
push ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
push ebx
add ecx, eax
mov dword [esp + 0x94], eax
sub eax, ecx
mov dword [esp + 0x9c], ecx
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], edx
call fcn.00560193
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
cmp edi, ebx
lea edx, [eax + ecx + 6]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
je 0x4dd95d
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esi + 0x84]
mov eax, ecx
xor edx, edx
shr eax, 4
div ebx
mov edi, dword [esi + 0x80]
test edi, edi
mov dword [esp + 0x54], edx
je 0x4dd858
mov eax, dword [edi + edx*4]
test eax, eax
je 0x4dd854
cmp dword [eax + 8], ecx
je 0x4dd84c
mov eax, dword [eax]
test eax, eax
jne 0x4dd83f
jmp 0x4dd854
test eax, eax
jne 0x4dd92d
test edi, edi
jne 0x4dd888
lea ebp, [ebx*4]
push ebp
call fcn.00556801
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x80], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 0x84], ebx
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x4dd8d0
mov eax, dword [esi + 0x94]
push 0x20
lea ecx, [esi + 0x90]
push eax
push ecx
call fcn.00556126
mov ecx, dword [esi + 0x94]
mov edx, ecx
shl edx, 5
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x1c]
jl 0x4dd8d0
inc ecx
mov edx, dword [esi + 0x8c]
mov dword [eax], edx
mov dword [esi + 0x8c], eax
sub eax, 0x20
dec ecx
jne 0x4dd8bc
mov edi, dword [esi + 0x8c]
mov ebp, dword [esi + 0x88]
inc ebp
push 1
mov eax, dword [edi]
mov dword [esi + 0x88], ebp
lea ebp, [edi + 8]
mov dword [esi + 0x8c], eax
push ebp
call fcn.004df4e0
lea ecx, [edi + 0xc]
push 1
push ecx
call fcn.004dc430
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov dword [ebp], edx
mov edx, dword [esi + 0x80]
mov ebp, dword [esp + 0x64]
mov eax, edi
mov edx, dword [edx + ecx*4]
mov dword [edi], edx
mov edx, dword [esi + 0x80]
mov dword [edx + ecx*4], edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.004def20
push eax
lea eax, [esp + 0xc0]
push eax
mov ecx, ebp
call fcn.004dea70
xor ebx, ebx
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x4dd995
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x100]
mov dword [esp + 0x30], eax
inc ecx
lea eax, [esp + 0x28]
push edx
mov dword [esp + 0x38], ecx
push eax
jmp 0x4dd9a4
mov ecx, dword [esi + 0x118]
lea edx, [esp + 0x9c]
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.00560088
cmp dword [esp + 0x1f4], ebx
jle 0x4dda11
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x114]
lea eax, [edx + eax + 6]
mov edx, dword [esi + 0x110]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], ecx
push ebx
lea eax, [esp + 0x2c]
push 2
lea ecx, [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x3c], edx
call fcn.004e23c0
cmp dword [esp + 0x44], ebx
je 0x4ddad2
mov edx, dword [esi + 0x124]
lea ecx, [esp + 0x28]
push edx
push 1
push ebx
call fcn.0055d923
lea eax, [esp + 0x28]
lea ecx, [esp + 0xac]
push eax
mov byte [esp + 0x208], 2
call fcn.0055cf0a
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x114]
mov edx, dword [eax + 0x110]
cmp ecx, edx
jne 0x4dda6d
cmp ecx, dword [eax + 0x118]
jne 0x4dda6d
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 2]
jmp 0x4dda78
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
lea eax, [edx + eax + 0xb]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x64]
inc ecx
push ecx
push eax
push edx
lea ecx, [esp + 0xb8]
call fcn.0055d3fb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.0055d447
push esi
lea ecx, [esp + 0xb0]
call fcn.0055cf0a
mov dword [esp + 0x28], 0x8c5a48
lea ecx, [esp + 0x28]
mov byte [esp + 0x204], 3
call fcn.0055d90d
jmp 0x4ddc6f
lea edx, [esp + 0x48]
lea eax, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x214]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
mov ecx, dword [eax + 0x10]
push edx
push ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebx
call fcn.004de040
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add esp, 0x14
cmp eax, ebx
jne 0x4ddb19
cmp ecx, ebx
je 0x4ddb67
cmp dword [esp + 0x24], ebx
jne 0x4ddb37
push ecx
push ebx
push eax
lea edx, [esp + 0x1c]
push edi
lea eax, [esp + 0xbc]
push edx
push eax
mov ecx, ebp
call fcn.004de0a0
push 0xc
call fcn.00556801
mov ecx, dword [esi + 0x44]
add esp, 4
mov dword [eax], ecx
mov edx, dword [esi + 0x48]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x1f0]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x1c]
push ebx
push eax
push 0x8121
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
cmp edi, ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
jne 0x4ddbab
mov ecx, dword [ebp + 0x14]
push ebx
push 0x10
add ecx, 0xb
push ebx
push ecx
lea ecx, [esp + 0x8c]
call fcn.005601b1
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x54]
push edi
lea ecx, [esp + 0x84]
push eax
mov eax, dword [esp + 0x218]
push ecx
push edx
lea ecx, [esp + 0xc0]
push eax
push ecx
mov ecx, ebp
call fcn.004de320
cmp edi, ebx
jne 0x4ddc6f
mov ecx, dword [esp + 0x1f0]
xor edx, edx
mov eax, ecx
mov edi, 0xfffffffe
shr eax, 4
div dword [esi + 0x178]
mov esi, dword [esi + 0x174]
cmp esi, ebx
je 0x4ddc20
mov eax, dword [esi + edx*4]
cmp eax, ebx
je 0x4ddc20
cmp dword [eax + 8], ecx
je 0x4ddc19
mov eax, dword [eax]
cmp eax, ebx
jne 0x4ddc0c
jmp 0x4ddc20
cmp eax, ebx
je 0x4ddc20
mov edi, dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], eax
lea edx, [ecx + eax + 6]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x60]
push edi
lea ecx, [esp + 0xbc]
push eax
push ecx
mov ecx, ebp
call fcn.004de5a0
lea ecx, [esp + 0xac]
mov byte [esp + 0x204], 0
call fcn.004e1850
lea ecx, [esp + 0x20]
mov dword [esp + 0x204], 0xffffffff
call fcn.00556ac0
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f8
ret 4