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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e6a7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.004e6a8c
mov eax, dword [0x64339c]
call fcn.004e4abc
test al, al
je 0x4e5ddd
xor edx, edx
mov eax, esi
call fcn.004e73bc
mov ebx, eax
add ebx, dword [ebp - 0x34]
call fcn.004e42e0
add ebx, eax
mov dword [ebp - 0x34], ebx
mov dl, 1
mov eax, esi
call fcn.004e73bc
mov ebx, eax
add ebx, dword [ebp - 0x30]
call fcn.004e42e0
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dl, 2
mov eax, esi
call fcn.004e73bc
mov ebx, dword [ebp - 0x2c]
sub ebx, eax
call fcn.004e42e0
sub ebx, eax
mov dword [ebp - 0x2c], ebx
mov dl, 3
mov eax, esi
call fcn.004e73bc
mov ebx, dword [ebp - 0x28]
sub ebx, eax
call fcn.004e42e0
sub ebx, eax
mov dword [ebp - 0x28], ebx
jmp 0x4e5e2e
mov eax, dword [0x62e368]
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.004e84e8
add dword [ebp - 0x34], eax
mov eax, dword [0x62e368]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.004e84e8
add dword [ebp - 0x30], eax
mov eax, dword [0x62e368]
mov eax, dword [eax + 0x10]
mov edx, 3
call fcn.004e84e8
sub dword [ebp - 0x2c], eax
mov eax, dword [0x62e368]
mov eax, dword [eax + 0x10]
mov edx, 2
call fcn.004e84e8
sub dword [ebp - 0x28], eax
mov byte [ebp - 1], 1
mov eax, dword [0x64339c]
cmp dword [eax + 0x60], 0
je 0x4e6377
mov eax, dword [0x64339c]
mov ebx, dword [eax + 0x78]
test ebx, ebx
je 0x4e6029
mov eax, dword [0x64339c]
mov al, byte [eax + 0x7c]
sub al, 1
jb 0x4e5e74
je 0x4e5f06
dec al
je 0x4e5eb1
dec al
je 0x4e5f40
jmp 0x4e5f90
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [0x64339c]
mov edx, dword [edx + 0x64]
sub edx, eax
sar edx, 1
jns 0x4e5e93
adc edx, 0
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, 4
add dword [ebp - 0x34], eax
jmp 0x4e5f90
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [0x64339c]
mov edx, dword [edx + 0x60]
add edx, dword [ebp - 0x34]
sub edx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [0x64339c]
mov edx, dword [edx + 0x64]
sub edx, eax
sar edx, 1
jns 0x4e5ee8
adc edx, 0
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, 4
sub dword [ebp - 0x2c], eax
jmp 0x4e5f90
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [0x64339c]
mov edx, dword [edx + 0x60]
sub edx, eax
sar edx, 1
jns 0x4e5f1f
adc edx, 0
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, 4
add dword [ebp - 0x30], eax
jmp 0x4e5f90
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [0x64339c]
mov edx, dword [edx + 0x60]
sub edx, eax
sar edx, 1
jns 0x4e5f59
adc edx, 0
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], edx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [0x64339c]
mov edx, dword [edx + 0x64]
add edx, dword [ebp - 0x30]
sub edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, 4
sub dword [ebp - 0x28], eax
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
call fcn.00437fe0
cmp al, 7
jne 0x4e600e
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [0x63cea0]
push eax
push 0
push 0x1fffffff
push 0
push 0
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004081cc
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
call fcn.0057a538
lea edx, [ebp - 0x74]
mov ecx, edi
pop eax
call fcn.0056b800
jmp 0x4e6029
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x78]
push eax
mov eax, edi
call fcn.00437ef4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.0043306c
mov eax, dword [0x64339c]
cmp dword [eax + 0x70], 0
je 0x4e6146
push 0
lea eax, [ebp - 0x44]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0057a514
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.0057a698
mov dword [ebp - 0x3c], eax
mov eax, dword [0x64339c]
cmp byte [eax + 0x3d], 0
je 0x4e60a5
mov dl, 1
mov eax, dword [0x556c38]
call fcn.00557538
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [0x64339c]
mov ecx, dword [eax + 0x70]
mov edx, edi
mov eax, dword [ebp - 0x20]
call fcn.00559664
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0xc]
mov cl, 1
mov eax, dword [ebp - 0x20]
call fcn.005590d0
lea eax, [ebp - 0x20]
call fcn.0041252c
jmp 0x4e60dc
push 0xc10
push 0
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
push eax
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x70]
call fcn.00405e40
mov edx, eax
lea eax, [ebp - 0x78]
call fcn.00405b5c
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x44]
pop eax
call fcn.00568020
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.0057a698
mov ebx, eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.0057a698
sub ebx, eax
sar ebx, 1
jns 0x4e60fb
adc ebx, 0
add ebx, dword [ebp - 0x34]
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.0057a6ac
mov ebx, eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.0057a6ac
sub ebx, eax
sar ebx, 1
jns 0x4e6120
adc ebx, 0
add ebx, dword [ebp - 0x30]
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.0057a698
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.0057a6ac
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
mov eax, dword [0x64339c]
call fcn.004e4abc
test al, al
je 0x4e6244
mov eax, dword [0x64339c]
cmp byte [eax + 0x3d], 0
je 0x4e61d1
mov dl, 1
mov eax, dword [0x556c38]
call fcn.00557538
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 0x20]
mov dl, byte [esi + 0x5f]
mov byte [eax + 0x96], dl
mov eax, dword [0x64339c]
mov al, byte [eax + 0x50]
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x94], al
lea eax, [ebp - 0x54]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [0x64339c]
mov ecx, dword [eax + 0x70]
mov edx, edi
mov eax, dword [ebp - 0x20]
call fcn.00559664
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
call fcn.005590d0
lea eax, [ebp - 0x20]
call fcn.0041252c
jmp 0x4e6a2f
mov eax, esi
call fcn.00459174
mov ebx, eax
mov eax, dword [0x64339c]
movzx eax, byte [eax + 0x50]
mov edx, dword [0x63cb08]
mov ax, word [edx + eax*2]
or ax, 0x150
movzx eax, ax
or ebx, eax
or ebx, 4
mov eax, dword [0x63d0a4]
mov eax, dword [eax]
call fcn.0047ca88
test al, al
je 0x4e620f
or ebx, 0x20000
lea eax, [ebp - 0x54]
push eax
push ebx
mov eax, dword [esi + 0x274]
push eax
push 0
mov eax, dword [0x63cf48]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x70]
call fcn.00405e40
mov edx, eax
mov cl, 1
mov eax, edi
call fcn.004b9534
jmp 0x4e6a2f
cmp dword [0x62e374], 0
je 0x4e6268
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
mov edx, dword [0x62e374]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
call fcn.004323d0
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00432e70
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], 0
jge 0x4e629a
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004323d0
mov eax, dword [0x64339c]
cmp byte [eax + 0x3d], 0
je 0x4e6313
mov dl, 1
mov eax, dword [0x556c38]
call fcn.00557538
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 0x20]
mov dl, byte [esi + 0x5f]
mov byte [eax + 0x96], dl
mov eax, dword [0x64339c]
mov al, byte [eax + 0x50]
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x94], al
lea eax, [ebp - 0x54]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [0x64339c]
mov ecx, dword [eax + 0x70]
mov edx, edi
mov eax, dword [ebp - 0x20]
call fcn.00559664
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
call fcn.005590d0
lea eax, [ebp - 0x20]
call fcn.0041252c
jmp 0x4e6a2f
mov eax, esi
call fcn.00459174
mov edx, dword [0x64339c]
movzx edx, byte [edx + 0x50]
mov ecx, dword [0x63cb08]
mov dx, word [ecx + edx*2]
or dx, 0x800
or dx, 0x10
movzx edx, dx
or eax, edx
or eax, 4
push eax
push 0
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
push eax
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x70]
call fcn.00405e40
mov edx, eax
lea eax, [ebp - 0x7c]
call fcn.00405b5c
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
pop eax
call fcn.00568020
jmp 0x4e6a2f
mov eax, dword [0x64339c]
cmp word [eax + 0x4a], 0
je 0x4e63ce
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x80]
mov eax, esi
call fcn.004567c0
mov eax, dword [ebp - 0x80]
push eax
cmp dword [esi + 0x260], 0
setne al
mov edx, dword [esi + 0x260]
pop ecx
call fcn.0057a288
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 1]
push eax
mov eax, dword [0x64339c]
lea ecx, [eax + 0x11c]
mov ebx, dword [0x64339c]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x4c]
call dword [ebx + 0x48]
cmp byte [ebp - 1], 0
je 0x4e6a2f
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4e66da
mov edx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x4c]
push edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [0x64339c]
call fcn.004e4abc
test al, al
je 0x4e6446
mov eax, dword [0x63cf48]
mov eax, dword [eax]
mov edx, 0x60
call fcn.0058fb20
mov eax, dword [eax + 0x52c]
imul edx, dword [esi + 0x274], 0x26
mov edx, dword [eax + edx*8 + 0x2c]
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov eax, dword [eax + 0x68]
call fcn.004323d0
jmp 0x4e646d
cmp dword [0x62e374], 0
je 0x4e646d
mov eax, dword [0x62e374]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov eax, dword [eax + 0x68]
call fcn.004323d0
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
call fcn.0045e714
call fcn.0059804c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e64aa
push 0
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov ecx, 0x250000
mov edx, 0xa100
call fcn.00457aa8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4e64dc
mov eax, dword [ebp - 0x18]
cmp word [eax + 0x6a], 0
je 0x4e64dc
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x68]
mov dword [esi + 0x280], edx
mov edx, dword [eax + 0x6c]
mov dword [esi + 0x284], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x6c], esi
mov dword [eax + 0x68], 0x4e6be8
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, dword [eax + 0x38]
mov dword [esi + 0x288], edx
mov edx, dword [eax + 0x3c]
mov dword [esi + 0x28c], edx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov dword [eax + 0x3c], esi
mov dword [eax + 0x38], 0x4e6be8
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x1c], eax
mov eax, edi
call fcn.00437ef4
call fcn.00433218
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
call fcn.0045a76c
dec eax
test eax, eax
jl 0x4e6643
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, ebx
call fcn.0045a730
cmp byte [eax + 0x57], 0
je 0x4e6639
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, ebx
call fcn.0045a730
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, ebx
call fcn.0045a730
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x34]
push eax
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
pop edx
pop ecx
call fcn.00454df0
push 0
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, ebx
call fcn.0045a730
push eax
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
mov ecx, eax
mov edx, 0xf
pop eax
call fcn.00457aa8
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, ebx
call fcn.0045a730
mov edx, dword [ebp - 0x30]
neg edx
sub edx, dword [eax + 0x44]
push edx
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, ebx
call fcn.0045a730
mov edx, dword [ebp - 0x34]
neg edx
sub edx, dword [eax + 0x40]
push edx
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
pop edx
pop ecx
call fcn.00454df0
push 0x1fffffff
push 0
mov cl, 0xff
lea edx, [ebp - 0x34]
mov eax, edi
call fcn.004b9c0c
inc ebx
dec dword [ebp - 0x24]
jne 0x4e654e
cmp dword [ebp - 0x18], 0
je 0x4e6676
mov eax, dword [ebp - 0x18]
cmp word [eax + 0x6a], 0
je 0x4e6676
mov eax, dword [ebp - 0x18]
mov edx, dword [esi + 0x280]
mov dword [eax + 0x68], edx
mov edx, dword [esi + 0x284]
mov dword [eax + 0x6c], edx
xor eax, eax
mov dword [esi + 0x280], eax
mov dword [esi + 0x284], eax
mov eax, dword [0x64339c]
mov eax, dword [eax + 0x110]
mov edx, dword [esi + 0x288]
mov dword [eax + 0x38], edx
mov edx, dword [esi + 0x28c]
mov dword [eax + 0x3c], edx
xor eax, eax
mov dword [esi + 0x288], eax
mov dword [esi + 0x28c], eax
mov dl, 7
mov eax, edi
call fcn.00438ee4
xor edx, edx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, edi
call fcn.00437ef4
call fcn.00433650
mov eax, dword [ebp - 0x1c]
push eax
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
push eax
call sub.gdi32.dll_RestoreDC
jmp 0x4e6a2f
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00432e70
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.00432a74
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x84]
mov eax, esi
call fcn.004567c0
mov eax, dword [ebp - 0x84]
push eax
cmp dword [esi + 0x260], 0
setne al
mov edx, dword [esi + 0x260]
pop ecx
call fcn.0057a288
mov eax, dword [0x64339c]
cmp dword [eax + 0xe0], 0
je 0x4e6755
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
mov edx, dword [0x64339c]
mov edx, dword [edx + 0xe0]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4e67b7
mov eax, dword [0x64339c]
call fcn.004e4abc
test al, al
je 0x4e6782
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
mov edx, dword [0x63d3ec]
mov edx, dword [edx]
mov edx, dword [edx + 0x80]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4e679a
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
mov edx, dword [0x62e374]
mov edx, dword [edx + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x64339c]
call fcn.004e4abc
xor al, 1
push eax
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
pop edx
call fcn.004e4304
mov eax, dword [0x64339c]
cmp byte [eax + 0x3d], 0
je 0x4e68c9
mov eax, dword [0x64339c]
cmp dword [eax + 0xe0], 0
jne 0x4e6860
mov eax, dword [0x64339c]
call fcn.004e4abc
test al, al
je 0x4e681b
mov eax, dword [0x63cf48]
mov eax, dword [eax]
mov edx, 0x60
call fcn.0058fb20
mov eax, dword [eax + 0x52c]
imul edx, dword [esi + 0x274], 0x26
mov eax, dword [eax + edx*8 + 0x2c]
push eax
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
pop edx
call fcn.004323d0
jmp 0x4e683f
cmp dword [0x62e374], 0
je 0x4e683f
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
mov edx, dword [0x62e374]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
call fcn.004323d0
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], 0
jge 0x4e6860
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004323d0
mov dl, 1
mov eax, dword [0x556c38]
call fcn.00557538
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 0x20]
mov dl, byte [esi + 0x5f]
mov byte [eax + 0x96], dl
mov eax, dword [0x64339c]
mov al, byte [eax + 0x50]
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x94], al
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 0x20]
call fcn.00559664
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
call fcn.005590d0
lea eax, [ebp - 0x20]
call fcn.0041252c
jmp 0x4e6a2f
mov eax, dword [0x64339c]
call fcn.004e4abc
test al, al
je 0x4e697f
mov eax, esi
call fcn.00459174
mov ebx, eax
mov eax, dword [0x64339c]
movzx eax, byte [eax + 0x50]
mov edx, dword [0x63cb08]
mov ax, word [edx + eax*2]
or ax, 0x150
movzx eax, ax
or ebx, eax
mov eax, dword [0x63d0a4]
mov eax, dword [eax]
call fcn.0047ca88
test al, al
je 0x4e6916
or ebx, 0x20000
mov eax, dword [0x64339c]
cmp dword [eax + 0xe0], 0
jne 0x4e6954
lea eax, [ebp - 0x34]
push eax
push ebx
mov eax, dword [esi + 0x274]
push eax
push 0
mov eax, dword [0x63cf48]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405e40
mov edx, eax
mov cl, 1
mov eax, edi
call fcn.004b9534
jmp 0x4e6a2f
lea eax, [ebp - 0x34]
push eax
push ebx
push 0xffffffffffffffff
push 0
mov eax, dword [0x63cf48]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405e40
mov edx, eax
mov cl, 1
mov eax, edi
call fcn.004b9534
jmp 0x4e6a2f
mov eax, dword [0x64339c]
cmp dword [eax + 0xe0], 0
jne 0x4e69d2
cmp dword [0x62e374], 0
je 0x4e69b1
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
mov edx, dword [0x62e374]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
call fcn.004323d0
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], 0
jge 0x4e69d2
mov eax, edi
call fcn.00437ef4
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004323d0
mov eax, esi
call fcn.00459174
mov edx, dword [0x64339c]
movzx edx, byte [edx + 0x50]
mov ecx, dword [0x63cb08]
mov dx, word [ecx + edx*2]
or dx, 0x800
or dx, 0x10
movzx edx, dx
or eax, edx
push eax
push 0
mov eax, edi
call fcn.00437ef4
call fcn.0043377c
push eax
mov eax, dword [ebp - 8]
call fcn.00405e40
mov edx, eax
lea eax, [ebp - 0x88]
call fcn.00405b5c
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x34]
pop eax
call fcn.00568020
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6a82
lea eax, [ebp - 0x88]
call fcn.00405964
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00405988
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00405988
lea eax, [ebp - 0xc]
mov edx, dword [0x556ba0]
call fcn.00407184
lea eax, [ebp - 8]
call fcn.00405964
ret