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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ceba0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x44c]
xor edx, edx
cmp eax, edx
je 0x447881
cmp byte [eax + 0x1d8], dl
je 0x447881
mov byte [ebp + 0xc], 1
cmp dword [ebx + 0x384], edx
je 0x44870b
mov ecx, dword [ebx + 0x460]
mov esi, ecx
and esi, 4
je 0x4478df
cmp dword [ebx + 0x19c], edx
jne 0x4478ba
cmp dword [ebx + 0x1a4], edx
jne 0x4478ba
cmp dword [ebx + 0x1a0], edx
jne 0x4478ba
cmp dword [ebx + 0x1a8], edx
je 0x4478df
mov eax, dword [ebx + 0x19c]
mov edi, dword [ebx + 0x1a0]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1a4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x1a8]
jmp 0x4479d7
test cl, 2
je 0x447929
cmp dword [ebx + 0x18c], edx
jne 0x447904
cmp dword [ebx + 0x194], edx
jne 0x447904
cmp dword [ebx + 0x190], edx
jne 0x447904
cmp dword [ebx + 0x198], edx
je 0x447929
mov eax, dword [ebx + 0x18c]
mov edi, dword [ebx + 0x190]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x194]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x198]
jmp 0x4479d7
test cl, 0x10
je 0x447970
cmp dword [ebx + 0x17c], edx
jne 0x44794e
cmp dword [ebx + 0x184], edx
jne 0x44794e
cmp dword [ebx + 0x180], edx
jne 0x44794e
cmp dword [ebx + 0x188], edx
je 0x447970
mov eax, dword [ebx + 0x17c]
mov edi, dword [ebx + 0x180]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x184]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x188]
jmp 0x4479d7
test cl, 8
je 0x4479b7
cmp dword [ebx + 0x16c], edx
jne 0x447995
cmp dword [ebx + 0x174], edx
jne 0x447995
cmp dword [ebx + 0x170], edx
jne 0x447995
cmp dword [ebx + 0x178], edx
je 0x4479b7
mov eax, dword [ebx + 0x16c]
mov edi, dword [ebx + 0x170]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x174]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x178]
jmp 0x4479d7
mov eax, dword [ebx + 0x15c]
mov edi, dword [ebx + 0x160]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x168]
cmp esi, edx
mov dword [esp + 0x30], eax
je 0x4479e9
mov eax, dword [ebx + 0x14c]
cmp eax, edx
jne 0x447a1c
test cl, 2
je 0x4479f8
mov eax, dword [ebx + 0x148]
cmp eax, edx
jne 0x447a1c
test cl, 0x10
je 0x447a07
mov eax, dword [ebx + 0x144]
cmp eax, edx
jne 0x447a1c
test cl, 8
je 0x447a16
mov eax, dword [ebx + 0x140]
cmp eax, edx
jne 0x447a1c
mov eax, dword [ebx + 0x13c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edx
mov word [esp + 0x80], dx
cmp esi, edx
mov dword [esp + 0xa8], edx
je 0x447a59
cmp dword [ebx + 0xa8], edx
je 0x447a59
push 0xffffffffffffffff
push edx
lea ecx, [ebx + 0x94]
push ecx
jmp 0x447a9b
test cl, 2
je 0x447a6e
cmp dword [ebx + 0x8c], edx
je 0x447a6e
push 0xffffffffffffffff
push edx
lea edx, [ebx + 0x78]
jmp 0x447a9a
test cl, 0x10
je 0x447a81
cmp dword [ebx + 0x70], edx
je 0x447a81
push 0xffffffffffffffff
push edx
lea eax, [ebx + 0x5c]
push eax
jmp 0x447a9b
test cl, 8
je 0x447a94
cmp dword [ebx + 0x54], edx
je 0x447a94
push 0xffffffffffffffff
push edx
lea ecx, [ebx + 0x40]
push ecx
jmp 0x447a9b
push 0xffffffffffffffff
push edx
lea edx, [ebx + 0x24]
push edx
lea eax, [esp + 0x88]
call fcn.00405240
mov eax, dword [ebx + 0x460]
test al, 4
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
je 0x447ae1
mov cl, byte [ebx + 0x322]
cmp cl, 0x64
jne 0x447ace
cmp byte [ebx + 0x323], cl
je 0x447ae1
mov al, byte [ebx + 0x323]
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], al
jmp 0x447b71
test al, 2
je 0x447b04
mov cl, byte [ebx + 0x320]
cmp cl, 0x64
jne 0x447af8
cmp byte [ebx + 0x321], cl
je 0x447b04
mov byte [esp + 0x13], cl
mov cl, byte [ebx + 0x321]
jmp 0x447b6d
test al, 0x10
je 0x447b2b
mov cl, byte [ebx + 0x31e]
cmp cl, 0x64
jne 0x447b1b
cmp byte [ebx + 0x31f], cl
je 0x447b2b
mov dl, byte [ebx + 0x31f]
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], dl
jmp 0x447b71
test al, 8
je 0x447b51
mov al, byte [ebx + 0x31c]
cmp al, 0x64
jne 0x447b41
cmp byte [ebx + 0x31d], al
je 0x447b51
mov byte [esp + 0x13], al
mov al, byte [ebx + 0x31d]
mov byte [esp + 0x12], al
jmp 0x447b71
mov al, byte [ebx + 0x31a]
cmp al, 0x64
jne 0x447b63
cmp byte [ebx + 0x31b], al
je 0x447b71
mov cl, byte [ebx + 0x31b]
mov byte [esp + 0x13], al
mov byte [esp + 0x12], cl
mov ecx, dword [ebx + 0x3f8]
mov eax, dword [ebx + 0x3f4]
mov edx, dword [ebx + 0x3fc]
mov esi, dword [ebx + 0x400]
add eax, dword [esp + 0x24]
sub edx, dword [esp + 0x2c]
sub esi, dword [esp + 0x30]
add ecx, edi
mov dword [esp + 0x40], ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
call fcn.0047f2e0
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0x14]
push 2
mov ecx, ebx
mov dword [esp + 0x38], esi
call eax
test al, al
je 0x448178
test esi, esi
je 0x448178
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x447bf8
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x388], eax
jb 0x447c08
mov eax, dword [ebx + 0x374]
jmp 0x447c0e
lea eax, [ebx + 0x374]
mov edx, dword [ebx + 0x44c]
mov edi, dword [esp + 0x14]
push 0x800
push eax
push edx
lea esi, [esp + 0x30]
call fcn.00481f90
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
mov eax, edx
sub eax, ecx
add esp, 0xc
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
jg 0x447e7a
cmp byte [ebx + 0x318], 0
mov edi, dword [ebx + 0x314]
mov byte [ebx + 0x4ac], 1
mov dword [esp + 0x18], edi
je 0x447c71
or edi, 1
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 0x44c]
test eax, eax
je 0x447c8a
push ebx
add eax, 4
push eax
mov ecx, 0x2003
call fcn.004807a0
mov al, byte [esp + 0x13]
test al, al
jne 0x447ccf
cmp byte [esp + 0x12], al
je 0x447cd9
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x32], 0
jne 0x447caf
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x1c], 0
je 0x447cb4
mov byte [esp + 0x1c], 1
mov eax, 8
cmp dword [esp + 0x94], eax
jb 0x447d3f
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], ecx
jmp 0x447d4a
cmp al, 0x64
jne 0x447c98
cmp byte [esp + 0x12], al
jne 0x447c98
mov edx, dword [ebx]
mov eax, dword [edx + 0x21c]
mov ecx, ebx
call eax
test al, al
mov esi, 8
je 0x447dfa
cmp dword [esp + 0x94], esi
mov ecx, dword [esp + 0x80]
jae 0x447d09
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x388], esi
jb 0x447d19
mov eax, dword [ebx + 0x374]
jmp 0x447d1f
lea eax, [ebx + 0x374]
mov edx, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [ebx + 0x44c]
push eax
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00487ce0
add esp, 0x14
jmp 0x447dfa
lea edx, [esp + 0x80]
mov dword [esp + 0x34], edx
cmp dword [ebx + 0x388], eax
jb 0x447d5e
mov eax, dword [ebx + 0x374]
mov dword [esp + 0x38], eax
jmp 0x447d68
lea ecx, [ebx + 0x374]
mov dword [esp + 0x38], ecx
movsx eax, byte [esp + 0x12]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
movsx ecx, byte [esp + 0x13]
lea esi, [eax + edx]
mov edx, dword [esp + 0x44]
add eax, edi
mov edi, dword [esp + 0x3c]
add edx, ecx
add ecx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebx]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x324]
push ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
push edi
push edx
mov edx, dword [eax + 0x234]
mov ecx, ebx
mov dword [esp + 0x40], esi
call edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
mov ecx, eax
and eax, 0x80000000
and ecx, 0xffffff
sub eax, ecx
mov ecx, dword [ebx + 0x44c]
add eax, 0xffffff
push eax
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x40]
push eax
push ecx
push edx
call fcn.00482760
add esp, 0x28
mov esi, 8
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x32], 0
jne 0x447e10
cmp byte [ebp + 0xc], 0
jne 0x447e10
xor al, al
jmp 0x447e12
mov al, 1
cmp dword [esp + 0x94], esi
mov ecx, dword [esp + 0x80]
jae 0x447e29
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x388], esi
jb 0x447e39
mov esi, dword [ebx + 0x374]
jmp 0x447e3f
lea esi, [ebx + 0x374]
mov edx, dword [ebx + 0x324]
push eax
mov eax, dword [ebx]
push edx
mov edx, dword [eax + 0x234]
push edi
push ecx
mov ecx, ebx
call edx
mov edx, dword [ebx + 0x44c]
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0x58]
push ecx
push edx
push eax
call fcn.00482760
add esp, 0x28
jmp 0x448673
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
xor eax, eax
mov byte [ebx + 0x4ac], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0xa8], 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x70]
call fcn.004881c0
mov esi, dword [esp + 0x34]
sub esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
lea eax, [esi + ecx]
add esp, 0x10
cmp esi, dword [esp + 0x44]
mov edi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
jge 0x44813b
lea ebx, [ebx]
cmp eax, dword [esp + 0x3c]
mov edx, 8
jle 0x44811f
mov al, byte [esp + 0x13]
test al, al
jne 0x447f66
cmp byte [esp + 0x12], al
je 0x447f70
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x32], 0
jne 0x447f44
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x38], 0
je 0x447f49
mov byte [esp + 0x38], 1
cmp dword [esp + 0x94], edx
jb 0x447fdc
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], ecx
jmp 0x447fe7
cmp al, 0x64
jne 0x447f2d
cmp byte [esp + 0x12], al
jne 0x447f2d
mov edx, dword [ebx]
mov eax, dword [edx + 0x21c]
mov ecx, ebx
call eax
test al, al
mov esi, 8
je 0x448096
cmp dword [esp + 0x94], esi
mov ecx, dword [esp + 0x80]
jae 0x447fa0
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x388], esi
jb 0x447fb0
mov eax, dword [ebx + 0x374]
jmp 0x447fb6
lea eax, [ebx + 0x374]
mov edx, dword [ebx + 0x314]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x44c]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00487ce0
add esp, 0x14
jmp 0x448096
lea eax, [esp + 0x80]
mov dword [esp + 0x34], eax
cmp dword [ebx + 0x388], edx
jb 0x447ffb
mov ecx, dword [ebx + 0x374]
mov dword [esp + 0x18], ecx
jmp 0x448005
lea edx, [ebx + 0x374]
mov dword [esp + 0x18], edx
movsx eax, byte [esp + 0x12]
mov ecx, dword [esp + 0x30]
lea edx, [eax + ecx]
movsx ecx, byte [esp + 0x13]
add edi, ecx
add ecx, esi
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x28]
add eax, edi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], edx
mov edx, dword [ebx + 0x324]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x314]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x234]
push ecx
mov ecx, ebx
call eax
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
mov ecx, eax
and ecx, 0xffffff
not ecx
and eax, 0x80000000
add ecx, eax
push ecx
mov ecx, dword [ebx + 0x44c]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
call fcn.00482760
add esp, 0x28
mov esi, 8
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x32], 0
jne 0x4480ac
cmp byte [ebp + 0xc], 0
jne 0x4480ac
xor al, al
jmp 0x4480ae
mov al, 1
cmp dword [esp + 0x94], esi
mov ecx, dword [esp + 0x80]
jae 0x4480c5
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x388], esi
jb 0x4480d5
mov esi, dword [ebx + 0x374]
jmp 0x4480db
lea esi, [ebx + 0x374]
mov edx, dword [ebx + 0x324]
push eax
mov eax, dword [ebx + 0x314]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x234]
push ecx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [ebx + 0x44c]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
lea edx, [esp + 0x40]
push edx
push eax
push ecx
call fcn.00482760
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add esp, 0x28
lea eax, [ecx + 0xa]
add esi, eax
cmp esi, dword [esp + 0x44]
lea eax, [esi + ecx]
mov edi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
jl 0x447f10
mov byte [esp + 0xa8], 0
mov eax, dword [esp + 0x70]
test eax, eax
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x448164
mov esi, dword [esp + 0x78]
test esi, esi
je 0x448164
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call edi
mov eax, dword [esp + 0x74]
test eax, eax
je 0x448673
push eax
call edi
jmp 0x448673
cmp byte [ebx + 0x20], 0
je 0x4481ef
mov esi, dword [ebx + 0x44c]
cmp byte [esi + 0x32], 0
jne 0x448194
cmp byte [ebp + 0xc], 0
jne 0x448194
xor cl, cl
jmp 0x448196
mov cl, 1
mov edx, dword [esp + 0x80]
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x4481b2
lea edx, [esp + 0x80]
cmp dword [ebx + 0x388], eax
jb 0x4481c2
mov eax, dword [ebx + 0x374]
jmp 0x4481c8
lea eax, [ebx + 0x374]
push ecx
mov ecx, dword [ebx + 0x314]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
lea eax, [esp + 0x50]
push eax
push esi
push ecx
call fcn.00486650
add esp, 0x20
jmp 0x448673
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x448217
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x388], eax
jb 0x448227
mov eax, dword [ebx + 0x374]
jmp 0x44822d
lea eax, [ebx + 0x374]
mov edx, dword [ebx + 0x44c]
mov edi, dword [esp + 0x14]
push 0x800
push eax
push edx
lea esi, [esp + 0x58]
call fcn.00481f90
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [ebx + 0x314]
add esp, 0xc
mov dword [esp + 0x1c], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
lea eax, [ebx + 0x370]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x84], 7
call fcn.00405240
mov byte [esp + 0xa8], 2
cmp byte [ebx + 0x318], 0
je 0x448350
mov ecx, esi
sub ecx, edi
cmp ecx, dword [esp + 0x18]
jle 0x448345
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x448349
mov ecx, dword [esp + 0x64]
mov edi, 8
cmp dword [esp + 0x78], edi
jae 0x4482d2
lea ecx, [esp + 0x64]
add eax, 0xffffffff
push eax
push ecx
lea esi, [esp + 0x68]
call fcn.00405810
push 0xffffffffffffffff
push 0
push eax
mov eax, esi
call fcn.00405240
cmp dword [ebx + 0x3c], edi
jb 0x4482f6
mov ecx, dword [ebx + 0x28]
jmp 0x4482f9
lea ecx, [ebx + 0x28]
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x448307
lea eax, [esp + 0x64]
mov edx, dword [ebx + 0x44c]
mov edi, dword [esp + 0x14]
push 0x800
push eax
push edx
lea esi, [esp + 0x58]
call fcn.00481f90
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, esi
sub eax, edi
add esp, 0xc
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
jg 0x4482b3
mov eax, dword [esp + 0x74]
or dword [esp + 0x1c], 1
jmp 0x448354
mov eax, dword [esp + 0x74]
cmp byte [ebx + 0x319], 0
je 0x448400
sub esi, edi
cmp esi, dword [esp + 0x18]
jle 0x448400
jmp 0x448374
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x448400
mov ecx, dword [esp + 0x64]
mov edi, 8
cmp dword [esp + 0x78], edi
jae 0x44838f
lea ecx, [esp + 0x64]
add eax, 0xffffffff
push eax
push ecx
lea esi, [esp + 0x68]
call fcn.00405810
push 0xffffffffffffffff
push 0
push eax
mov eax, esi
call fcn.00405240
cmp dword [ebx + 0x3c], edi
jb 0x4483b3
mov ecx, dword [ebx + 0x28]
jmp 0x4483b6
lea ecx, [ebx + 0x28]
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x4483c4
lea eax, [esp + 0x64]
mov edx, dword [ebx + 0x44c]
mov edi, dword [esp + 0x14]
push 0x800
push eax
push edx
lea esi, [esp + 0x58]
call fcn.00481f90
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
add esp, 0xc
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
jg 0x448370
mov ecx, dword [esp + 0x80]
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x44841c
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x388], eax
jb 0x44842c
mov eax, dword [ebx + 0x374]
jmp 0x448432
lea eax, [ebx + 0x374]
mov edx, dword [ebx + 0x44c]
mov edi, dword [esp + 0x14]
push 0x800
push eax
push edx
lea esi, [esp + 0x58]
call fcn.00481f90
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
add esp, 0xc
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
jle 0x448478
mov eax, dword [ebx + 0x4b0]
add dword [esp + 0x3c], eax
sub dword [esp + 0x44], eax
mov al, byte [esp + 0x13]
test al, al
jne 0x4484bd
cmp byte [esp + 0x12], al
je 0x4484c7
mov edx, dword [ebx + 0x44c]
cmp byte [edx + 0x32], 0
jne 0x44849d
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x38], 0
je 0x4484a2
mov byte [esp + 0x38], 1
mov eax, 8
cmp dword [esp + 0x94], eax
jb 0x448529
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], ecx
jmp 0x448534
cmp al, 0x64
jne 0x448486
cmp byte [esp + 0x12], al
jne 0x448486
mov edx, dword [ebx]
mov eax, dword [edx + 0x21c]
mov ecx, ebx
call eax
test al, al
mov edi, 8
je 0x4485db
cmp dword [esp + 0x94], edi
mov ecx, dword [esp + 0x80]
jae 0x4484f7
lea ecx, [esp + 0x80]
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x448505
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x1c]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x44c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00487ce0
add esp, 0x14
jmp 0x4485db
lea edx, [esp + 0x80]
mov dword [esp + 0x34], edx
cmp dword [esp + 0x78], eax
jb 0x448544
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
jmp 0x44854c
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], ecx
movsx eax, byte [esp + 0x12]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
movsx ecx, byte [esp + 0x13]
lea esi, [eax + edx]
mov edx, dword [esp + 0x44]
add eax, edi
mov edi, dword [esp + 0x3c]
add edx, ecx
add ecx, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x324]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x20]
push ecx
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x234]
mov ecx, ebx
mov dword [esp + 0x68], esi
call eax
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
mov ecx, eax
and ecx, 0xffffff
not ecx
and eax, 0x80000000
add ecx, eax
push ecx
mov ecx, dword [ebx + 0x44c]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
call fcn.00482760
add esp, 0x28
mov edi, 8
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x32], 0
jne 0x4485f1
cmp byte [ebp + 0xc], 0
jne 0x4485f1
xor al, al
jmp 0x4485f3
mov al, 1
cmp dword [esp + 0x94], edi
mov ecx, dword [esp + 0x80]
jae 0x44860a
lea ecx, [esp + 0x80]
cmp dword [esp + 0x78], edi
mov esi, dword [esp + 0x64]
jae 0x448618
lea esi, [esp + 0x64]
mov edx, dword [ebx + 0x324]
push eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x234]
push ecx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [ebx + 0x44c]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
lea edx, [esp + 0x58]
push edx
push eax
push ecx
call fcn.00482760
add esp, 0x28
mov byte [esp + 0xa8], 0
cmp dword [esp + 0x78], edi
mov byte [ebx + 0x4ac], al
jb 0x448673
mov edx, dword [esp + 0x64]
push edx
call fcn.004a85e6
add esp, 4
mov eax, dword [ebx]
mov edx, dword [eax + 0x168]
mov ecx, ebx
call edx
test al, al
je 0x4486f1
cmp byte [ebx + 0x4ac], 0
je 0x4486de
xor eax, eax
push eax
push 0x4d40cc
lea esi, [esp + 0x68]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
call fcn.00405810
mov byte [esp + 0xa8], 3
mov eax, dword [ebx]
mov edx, dword [eax + 0x150]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x78], 8
jb 0x4486f1
mov eax, dword [esp + 0x64]
push eax
call fcn.004a85e6
add esp, 4
jmp 0x4486f1
mov edx, dword [ebx]
lea eax, [ebx + 0x370]
push eax
mov eax, dword [edx + 0x150]
mov ecx, ebx
call eax
cmp dword [esp + 0x94], 8
jb 0x44870b
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004a85e6
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004a85d7
mov esp, ebp
pop ebp
ret 8