Function at 0x48b650
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 esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48c3a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0048c3b4
mov eax, dword [0x587cc4]
call fcn.0048a668
test al, al
je 0x48b705
xor edx, edx
mov eax, ebx
call fcn.0048cce4
mov edi, eax
add edi, dword [ebp - 0x34]
call fcn.0048a2a0
add edi, eax
mov dword [ebp - 0x34], edi
mov dl, 1
mov eax, ebx
call fcn.0048cce4
mov edi, eax
add edi, dword [ebp - 0x30]
call fcn.0048a2a0
add edi, eax
mov dword [ebp - 0x30], edi
mov dl, 2
mov eax, ebx
call fcn.0048cce4
mov edi, dword [ebp - 0x2c]
sub edi, eax
call fcn.0048a2a0
sub edi, eax
mov dword [ebp - 0x2c], edi
mov dl, 3
mov eax, ebx
call fcn.0048cce4
mov edi, dword [ebp - 0x28]
sub edi, eax
call fcn.0048a2a0
sub edi, eax
mov dword [ebp - 0x28], edi
jmp 0x48b756
mov eax, dword [0x585840]
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.0048dd3c
add dword [ebp - 0x34], eax
mov eax, dword [0x585840]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.0048dd3c
add dword [ebp - 0x30], eax
mov eax, dword [0x585840]
mov eax, dword [eax + 0x10]
mov edx, 3
call fcn.0048dd3c
sub dword [ebp - 0x2c], eax
mov eax, dword [0x585840]
mov eax, dword [eax + 0x10]
mov edx, 2
call fcn.0048dd3c
sub dword [ebp - 0x28], eax
mov byte [ebp - 1], 1
mov eax, dword [0x587cc4]
cmp dword [eax + 0x60], 0
je 0x48bc9f
mov eax, dword [0x587cc4]
mov edi, dword [eax + 0x78]
test edi, edi
je 0x48b951
mov eax, dword [0x587cc4]
mov al, byte [eax + 0x7c]
sub al, 1
jb 0x48b79c
je 0x48b82e
dec al
je 0x48b7d9
dec al
je 0x48b868
jmp 0x48b8b8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [0x587cc4]
mov edx, dword [edx + 0x64]
sub edx, eax
sar edx, 1
jns 0x48b7bb
adc edx, 0
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, 4
add dword [ebp - 0x34], eax
jmp 0x48b8b8
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [0x587cc4]
mov edx, dword [edx + 0x60]
add edx, dword [ebp - 0x34]
sub edx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [0x587cc4]
mov edx, dword [edx + 0x64]
sub edx, eax
sar edx, 1
jns 0x48b810
adc edx, 0
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, 4
sub dword [ebp - 0x2c], eax
jmp 0x48b8b8
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [0x587cc4]
mov edx, dword [edx + 0x60]
sub edx, eax
sar edx, 1
jns 0x48b847
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 [0x587cc4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, 4
add dword [ebp - 0x30], eax
jmp 0x48b8b8
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [0x587cc4]
mov edx, dword [edx + 0x60]
sub edx, eax
sar edx, 1
jns 0x48b881
adc edx, 0
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], edx
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [0x587cc4]
mov edx, dword [edx + 0x64]
add edx, dword [ebp - 0x30]
sub edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, 4
sub dword [ebp - 0x28], eax
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
call fcn.00428db8
cmp al, 7
jne 0x48b936
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [0x586a04]
push eax
push 0
push 0x1fffffff
push 0
push 0
mov eax, dword [0x587cc4]
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 [0x587cc4]
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.00407340
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
call fcn.00533e9c
lea edx, [ebp - 0x74]
mov ecx, esi
pop eax
call fcn.00527d2c
jmp 0x48b951
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x78]
push eax
mov eax, esi
call fcn.00428ccc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004241b4
mov eax, dword [0x587cc4]
cmp dword [eax + 0x70], 0
je 0x48ba6e
push 0
lea eax, [ebp - 0x44]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00533e78
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.00533ffc
mov dword [ebp - 0x3c], eax
mov eax, dword [0x587cc4]
cmp byte [eax + 0x3d], 0
je 0x48b9cd
mov dl, 1
mov eax, dword [0x502ab0]
call fcn.0050328c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [0x587cc4]
mov ecx, dword [eax + 0x70]
mov edx, esi
mov eax, dword [ebp - 0x20]
call fcn.005053b8
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0xc]
mov cl, 1
mov eax, dword [ebp - 0x20]
call fcn.00504e24
lea eax, [ebp - 0x20]
call fcn.0040f0a8
jmp 0x48ba04
push 0xc10
push 0
mov eax, esi
call fcn.00428ccc
call fcn.00424800
push eax
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x70]
call fcn.00405054
mov edx, eax
lea eax, [ebp - 0x78]
call fcn.00404d8c
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x44]
pop eax
call fcn.00524948
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.00533ffc
mov edi, eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.00533ffc
sub edi, eax
sar edi, 1
jns 0x48ba23
adc edi, 0
add edi, dword [ebp - 0x34]
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.00534010
mov edi, eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.00534010
sub edi, eax
sar edi, 1
jns 0x48ba48
adc edi, 0
add edi, dword [ebp - 0x30]
mov dword [ebp - 0x50], edi
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.00533ffc
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.00534010
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
mov eax, dword [0x587cc4]
call fcn.0048a668
test al, al
je 0x48bb6c
mov eax, dword [0x587cc4]
cmp byte [eax + 0x3d], 0
je 0x48baf9
mov dl, 1
mov eax, dword [0x502ab0]
call fcn.0050328c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 0x20]
mov dl, byte [ebx + 0x5f]
mov byte [eax + 0x96], dl
mov eax, dword [0x587cc4]
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 [0x587cc4]
mov ecx, dword [eax + 0x70]
mov edx, esi
mov eax, dword [ebp - 0x20]
call fcn.005053b8
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
call fcn.00504e24
lea eax, [ebp - 0x20]
call fcn.0040f0a8
jmp 0x48c357
mov eax, ebx
call fcn.00447508
mov edi, eax
mov eax, dword [0x587cc4]
movzx eax, byte [eax + 0x50]
mov edx, dword [0x586788]
mov ax, word [edx + eax*2]
or ax, 0x150
movzx eax, ax
or edi, eax
or edi, 4
mov eax, dword [0x586b7c]
mov eax, dword [eax]
call fcn.0046437c
test al, al
je 0x48bb37
or edi, 0x20000
lea eax, [ebp - 0x54]
push eax
push edi
mov eax, dword [ebx + 0x22c]
push eax
push 0
mov eax, dword [0x586a88]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x70]
call fcn.00405054
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.005068a0
jmp 0x48c357
cmp dword [0x58584c], 0
je 0x48bb90
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [0x58584c]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
call fcn.004236d0
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00423fd8
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], 0
jge 0x48bbc2
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004236d0
mov eax, dword [0x587cc4]
cmp byte [eax + 0x3d], 0
je 0x48bc3b
mov dl, 1
mov eax, dword [0x502ab0]
call fcn.0050328c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 0x20]
mov dl, byte [ebx + 0x5f]
mov byte [eax + 0x96], dl
mov eax, dword [0x587cc4]
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 [0x587cc4]
mov ecx, dword [eax + 0x70]
mov edx, esi
mov eax, dword [ebp - 0x20]
call fcn.005053b8
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
call fcn.00504e24
lea eax, [ebp - 0x20]
call fcn.0040f0a8
jmp 0x48c357
mov eax, ebx
call fcn.00447508
mov edx, dword [0x587cc4]
movzx edx, byte [edx + 0x50]
mov ecx, dword [0x586788]
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, esi
call fcn.00428ccc
call fcn.00424800
push eax
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x70]
call fcn.00405054
mov edx, eax
lea eax, [ebp - 0x7c]
call fcn.00404d8c
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
pop eax
call fcn.00524948
jmp 0x48c357
mov eax, dword [0x587cc4]
cmp word [eax + 0x4a], 0
je 0x48bcf6
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.004451d0
mov eax, dword [ebp - 0x80]
push eax
cmp dword [ebx + 0x218], 0
setne al
mov edx, dword [ebx + 0x218]
pop ecx
call fcn.00533bec
lea eax, [ebp - 0x34]
push eax
push esi
lea eax, [ebp - 1]
push eax
mov eax, dword [0x587cc4]
lea ecx, [eax + 0x11c]
mov edi, dword [0x587cc4]
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x4c]
call dword [edi + 0x48]
cmp byte [ebp - 1], 0
je 0x48c357
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
test eax, eax
je 0x48c002
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 edi, dword [eax]
call dword [edi + 0x84]
mov eax, dword [0x587cc4]
call fcn.0048a668
test al, al
je 0x48bd6e
mov eax, dword [0x586a88]
mov eax, dword [eax]
mov edx, 0x60
call fcn.00544418
mov eax, dword [eax + 0x52c]
imul edx, dword [ebx + 0x22c], 0x26
mov edx, dword [eax + edx*8 + 0x2c]
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov eax, dword [eax + 0x68]
call fcn.004236d0
jmp 0x48bd95
cmp dword [0x58584c], 0
je 0x48bd95
mov eax, dword [0x58584c]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov eax, dword [eax + 0x68]
call fcn.004236d0
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
call fcn.0044b9d0
call fcn.00554ec8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x48bdd2
push 0
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov ecx, 0x250000
mov edx, 0xa100
call fcn.0044639c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48be04
mov eax, dword [ebp - 0x18]
cmp word [eax + 0x6a], 0
je 0x48be04
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x68]
mov dword [ebx + 0x238], edx
mov edx, dword [eax + 0x6c]
mov dword [ebx + 0x23c], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x68], 0x48c510
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x240], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x244], edx
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x48c510
mov eax, esi
call fcn.00428ccc
call fcn.00424800
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x1c], eax
mov eax, esi
call fcn.00428ccc
call fcn.00424318
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
call fcn.00448700
dec eax
test eax, eax
jl 0x48bf6b
inc eax
mov dword [ebp - 0x24], eax
xor edi, edi
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, edi
call fcn.004486c4
cmp byte [eax + 0x57], 0
je 0x48bf61
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, edi
call fcn.004486c4
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, edi
call fcn.004486c4
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x34]
push eax
mov eax, esi
call fcn.00428ccc
call fcn.00424800
pop edx
pop ecx
call fcn.00443b0c
push 0
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, edi
call fcn.004486c4
push eax
mov eax, esi
call fcn.00428ccc
call fcn.00424800
mov ecx, eax
mov edx, 0xf
pop eax
call fcn.0044639c
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, edi
call fcn.004486c4
mov edx, dword [ebp - 0x30]
neg edx
sub edx, dword [eax + 0x44]
push edx
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, edi
call fcn.004486c4
mov edx, dword [ebp - 0x34]
neg edx
sub edx, dword [eax + 0x40]
push edx
mov eax, esi
call fcn.00428ccc
call fcn.00424800
pop edx
pop ecx
call fcn.00443b0c
push 0x1fffffff
push 0
mov cl, 0xff
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.00506f78
inc edi
dec dword [ebp - 0x24]
jne 0x48be76
cmp dword [ebp - 0x18], 0
je 0x48bf9e
mov eax, dword [ebp - 0x18]
cmp word [eax + 0x6a], 0
je 0x48bf9e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 0x238]
mov dword [eax + 0x68], edx
mov edx, dword [ebx + 0x23c]
mov dword [eax + 0x6c], edx
xor eax, eax
mov dword [ebx + 0x238], eax
mov dword [ebx + 0x23c], eax
mov eax, dword [0x587cc4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebx + 0x240]
mov dword [eax + 0x38], edx
mov edx, dword [ebx + 0x244]
mov dword [eax + 0x3c], edx
xor eax, eax
mov dword [ebx + 0x240], eax
mov dword [ebx + 0x244], eax
mov dl, 7
mov eax, esi
call fcn.00429cdc
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, esi
call fcn.00428ccc
call fcn.004246f8
mov eax, dword [ebp - 0x1c]
push eax
mov eax, esi
call fcn.00428ccc
call fcn.00424800
push eax
call sub.gdi32.dll_RestoreDC
jmp 0x48c357
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00423fd8
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.00423c98
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x84]
mov eax, ebx
call fcn.004451d0
mov eax, dword [ebp - 0x84]
push eax
cmp dword [ebx + 0x218], 0
setne al
mov edx, dword [ebx + 0x218]
pop ecx
call fcn.00533bec
mov eax, dword [0x587cc4]
cmp dword [eax + 0xe0], 0
je 0x48c07d
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [0x587cc4]
mov edx, dword [edx + 0xe0]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x48c0df
mov eax, dword [0x587cc4]
call fcn.0048a668
test al, al
je 0x48c0aa
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [0x586dbc]
mov edx, dword [edx]
mov edx, dword [edx + 0x80]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x48c0c2
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [0x58584c]
mov edx, dword [edx + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x587cc4]
call fcn.0048a668
xor al, 1
push eax
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
pop edx
call fcn.0048a2c4
mov eax, dword [0x587cc4]
cmp byte [eax + 0x3d], 0
je 0x48c1f1
mov eax, dword [0x587cc4]
cmp dword [eax + 0xe0], 0
jne 0x48c188
mov eax, dword [0x587cc4]
call fcn.0048a668
test al, al
je 0x48c143
mov eax, dword [0x586a88]
mov eax, dword [eax]
mov edx, 0x60
call fcn.00544418
mov eax, dword [eax + 0x52c]
imul edx, dword [ebx + 0x22c], 0x26
mov eax, dword [eax + edx*8 + 0x2c]
push eax
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
pop edx
call fcn.004236d0
jmp 0x48c167
cmp dword [0x58584c], 0
je 0x48c167
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [0x58584c]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
call fcn.004236d0
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], 0
jge 0x48c188
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004236d0
mov dl, 1
mov eax, dword [0x502ab0]
call fcn.0050328c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 0x20]
mov dl, byte [ebx + 0x5f]
mov byte [eax + 0x96], dl
mov eax, dword [0x587cc4]
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, esi
mov eax, dword [ebp - 0x20]
call fcn.005053b8
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
call fcn.00504e24
lea eax, [ebp - 0x20]
call fcn.0040f0a8
jmp 0x48c357
mov eax, dword [0x587cc4]
call fcn.0048a668
test al, al
je 0x48c2a7
mov eax, ebx
call fcn.00447508
mov edi, eax
mov eax, dword [0x587cc4]
movzx eax, byte [eax + 0x50]
mov edx, dword [0x586788]
mov ax, word [edx + eax*2]
or ax, 0x150
movzx eax, ax
or edi, eax
mov eax, dword [0x586b7c]
mov eax, dword [eax]
call fcn.0046437c
test al, al
je 0x48c23e
or edi, 0x20000
mov eax, dword [0x587cc4]
cmp dword [eax + 0xe0], 0
jne 0x48c27c
lea eax, [ebp - 0x34]
push eax
push edi
mov eax, dword [ebx + 0x22c]
push eax
push 0
mov eax, dword [0x586a88]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405054
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.005068a0
jmp 0x48c357
lea eax, [ebp - 0x34]
push eax
push edi
push 0xffffffffffffffff
push 0
mov eax, dword [0x586a88]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405054
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.005068a0
jmp 0x48c357
mov eax, dword [0x587cc4]
cmp dword [eax + 0xe0], 0
jne 0x48c2fa
cmp dword [0x58584c], 0
je 0x48c2d9
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
mov edx, dword [0x58584c]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
call fcn.004236d0
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], 0
jge 0x48c2fa
mov eax, esi
call fcn.00428ccc
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004236d0
mov eax, ebx
call fcn.00447508
mov edx, dword [0x587cc4]
movzx edx, byte [edx + 0x50]
mov ecx, dword [0x586788]
mov dx, word [ecx + edx*2]
or dx, 0x800
or dx, 0x10
movzx edx, dx
or eax, edx
push eax
push 0
mov eax, esi
call fcn.00428ccc
call fcn.00424800
push eax
mov eax, dword [ebp - 8]
call fcn.00405054
mov edx, eax
lea eax, [ebp - 0x88]
call fcn.00404d8c
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x34]
pop eax
call fcn.00524948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c3aa
lea eax, [ebp - 0x88]
call fcn.00404b94
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00404bb8
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00404bb8
lea eax, [ebp - 0xc]
mov edx, dword [0x502a18]
call fcn.00406384
lea eax, [ebp - 8]
call fcn.00404b94
ret