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

Disassembly:
push ebp
sub esp, 0xa0
lea ebp, [esp - 4]
mov eax, dword [0x6ee104]
xor eax, ebp
mov dword [ebp + 0xa0], eax
push 0xf8
mov eax, 0x662661
call fcn.0062dfa1
mov esi, dword [ebp + 0xac]
lea eax, [ebp + 0x68]
push esi
xor ebx, ebx
push eax
mov edi, ecx
mov dword [ebp - 0x1c], ebx
call fcn.0045b9f1
pop ecx
pop ecx
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 4], ebx
call dword [eax + 0xf4]
mov ecx, edi
call fcn.00507c75
mov eax, dword [edi + 0x120]
cmp eax, ebx
jg 0x50ac19
push ebx
jmp 0x50bca7
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005ed78b
mov ecx, dword [edi + 0x120]
shl ecx, 2
push ecx
push ebx
push eax
mov dword [ebp - 0x80], eax
call fcn.0062e2e0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [edi + 0x80]
call fcn.00403d1d
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
mov dword [edi + 0x7c], ebx
mov byte [edi + 0x1a4], 0
mov byte [edi + 0x1f4], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x30], ebx
jle 0x50b2a5
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x78]
cmp eax, dword [edi + 0x11c]
mov byte [ebp - 0xd], 0
jge 0x50acb9
push dword [ebp - 0x60]
lea ecx, [ebp + 0x68]
call fcn.0044f0ea
movzx eax, byte [eax]
push eax
call fcn.0045b353
pop ecx
test al, al
je 0x50acd5
mov eax, dword [edi + 0x11c]
inc eax
cmp dword [ebp - 0x78], eax
jl 0x50acd5
inc dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
cmp eax, dword [edi + 0x120]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x30], ebx
jge 0x50b2a5
mov byte [ebp - 0xd], 1
push dword [ebp - 0x60]
lea ecx, [ebp + 0x68]
call fcn.0044f0ea
movzx eax, byte [eax]
push eax
call fcn.0045b353
pop ecx
test al, al
jne 0x50ad2f
push dword [ebp - 0x60]
lea ecx, [ebp + 0x68]
call fcn.0044f0ea
cmp byte [eax], 0xa
jne 0x50ad2f
cmp byte [edi + 0x1f4], 0
jne 0x50ad2f
or dword [ebp - 0x78], 0xffffffff
or dword [ebp - 0x30], 0xffffffff
cmp byte [ebp - 0xd], 0
jne 0x50ad27
inc dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
cmp eax, dword [edi + 0x120]
jge 0x50b2a5
inc dword [edi + 0x7c]
jmp 0x50b28d
push dword [ebp - 0x30]
and dword [edi + 0x7c], 0
push dword [ebp - 0x70]
mov ecx, edi
call fcn.0050779a
mov ebx, eax
mov dword [ebp - 0x4c], ebx
test ebx, ebx
je 0x50ad51
mov eax, dword [ebx + 8]
mov dword [ebp - 0x68], eax
jmp 0x50ad55
and dword [ebp - 0x68], 0
push dword [ebp - 0x60]
lea ecx, [ebp + 0x68]
call fcn.0044f0ea
movzx eax, byte [eax]
push eax
call fcn.0045b353
pop ecx
mov byte [ebp - 0x51], al
test al, al
je 0x50ada3
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], eax
jge 0x50b2a5
push dword [ebp - 0x60]
lea ecx, [ebp + 0x68]
call fcn.0044f0ea
mov al, byte [eax]
push dword [ebp - 0x14]
lea ecx, [ebp + 0x68]
mov byte [ebp - 0x24], al
call fcn.0044f0ea
mov al, byte [eax]
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], 0
jmp 0x50adb7
push dword [ebp - 0x60]
lea ecx, [ebp + 0x68]
call fcn.0044f0ea
mov al, byte [eax]
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
lea ecx, [ebp + 0x1c]
call fcn.004d6bd0
test byte [ebp - 0x68], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
lea eax, [ebx + 0xc]
jne 0x50add5
lea eax, [edi + 0xa8]
push eax
call fcn.00507f46
test byte [ebp - 0x68], 0x20
je 0x50adec
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x7c]
jmp 0x50adfb
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x10c]
test byte [ebp - 0x68], 0x40
mov dword [ebp - 0x44], eax
je 0x50ae0c
mov eax, dword [ebx + 0x80]
jmp 0x50ae12
mov eax, dword [edi + 0x104]
test byte [ebp - 0x68], 0x80
mov dword [ebp - 0x28], eax
je 0x50ae23
mov eax, dword [ebx + 0x84]
jmp 0x50ae29
mov eax, dword [edi + 0x110]
push 0x5c
mov dword [ebp - 0x3c], eax
call fcn.0043c971
pop ecx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x50ae4a
mov ecx, eax
call fcn.00507ef5
mov esi, eax
jmp 0x50ae4c
xor esi, esi
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], esi
call fcn.00404073
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x84]
call fcn.00404096
or dword [ebp - 0x1c], 1
test byte [ebp - 0x1c], 1
je 0x50ae90
and dword [ebp - 0x1c], 0xfffffffe
push 0
push 1
lea ecx, [ebp + 0x84]
call fcn.00403f20
test dword [ebp - 0x68], 0x100
je 0x50ae9e
mov eax, dword [ebx + 0x68]
jmp 0x50aea4
mov eax, dword [edi + 0x138]
test dword [ebp - 0x68], 0x200
mov dword [esi + 0x2c], eax
je 0x50aeb5
mov eax, dword [ebx + 0x6c]
jmp 0x50aebb
mov eax, dword [edi + 0x13c]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0xf8]
mov ebx, dword [edi + 0xfc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
test al, 0x10
je 0x50aedd
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x70]
mov dword [ebp - 0x20], ecx
test eax, 0x400
je 0x50aeea
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ecx + 0x74]
mov ecx, eax
shr ecx, 1
shr eax, 2
and cl, 1
and al, 1
cmp dword [esi + 0x34], 0
mov byte [ebp - 0x36], cl
mov byte [ebp - 0x35], al
je 0x50af11
call fcn.00507440
push dword [esi + 0x34]
mov ecx, eax
call fcn.00514e21
push 0x682764
lea ecx, [ebp - 0xc4]
call fcn.00404096
or dword [ebp - 0x1c], 2
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00412452
test eax, eax
je 0x50af64
push 0x682768
lea ecx, [ebp + 0x84]
call fcn.00404096
push 4
pop edx
or dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov dword [ebp - 4], edx
call fcn.00412452
mov byte [ebp - 0xd], 0
test eax, eax
jne 0x50af68
mov byte [ebp - 0xd], 1
test byte [ebp - 0x1c], 4
je 0x50af81
and dword [ebp - 0x1c], 0xfffffffb
push 0
push 1
lea ecx, [ebp + 0x84]
call fcn.00403f20
test byte [ebp - 0x1c], 2
mov dword [ebp - 4], 1
je 0x50afa1
and dword [ebp - 0x1c], 0xfffffffd
push 0
push 1
lea ecx, [ebp - 0xc4]
call fcn.00403f20
cmp byte [ebp - 0xd], 0
je 0x50b0e0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004d63b0
push str.sysheart_l.bmp
lea ecx, [ebp + 0x84]
call fcn.00404096
push 0x68277c
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.00404096
push 0
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.0044f0ea
mov al, byte [eax]
push 1
lea ecx, [ebp]
mov byte [ebp - 0x24], al
call fcn.0044f0ea
mov al, byte [eax]
mov byte [ebp - 0x23], al
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
mov byte [ebp - 0x22], 0
call fcn.00404073
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00404096
push dword [ebp - 0x3c]
lea ecx, [ebp + 0x1c]
push dword [ebp - 0x28]
mov byte [ebp - 4], 7
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0050c840
push eax
push 1
push 0x15
push dword [ebp - 0x20]
lea eax, [ebp + 0x1c]
push ebx
push eax
lea eax, [ebp - 0xc4]
push eax
sub esp, 0x1c
lea eax, [ebp + 0x84]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00403a0a
mov byte [ebp - 4], 8
call fcn.00507440
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0051564e
push 0
push 1
lea ecx, [ebp - 0xc4]
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 6
call fcn.00403f20
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 0x90]
push edx
call dword [eax + 0x15c]
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x48]
add eax, dword [ebp - 0x5c]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov dword [esi + 0x44], eax
cmp dword [ebp - 0x5c], 0
jne 0x50b0bc
mov dword [esi + 0x40], eax
push 0
push 1
lea ecx, [ebp]
call fcn.00403f20
push 0
push 1
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], 1
call fcn.00403f20
jmp 0x50b178
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x84]
call fcn.00404096
mov byte [ebp - 4], 9
call fcn.00507440
push dword [ebp - 0x3c]
lea ecx, [ebp + 0x1c]
push dword [ebp - 0x28]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0050c840
mov ecx, dword [ebp - 0x68]
push eax
push 1
push 0x15
push dword [ebp - 0x20]
lea eax, [ebp + 0x1c]
push ebx
push eax
lea eax, [ebp + 0x84]
push eax
call fcn.00515357
push 0
push 1
lea ecx, [ebp + 0x84]
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 1
call fcn.00403f20
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 0xa0]
push edx
call dword [eax + 0x1c]
mov ecx, dword [eax]
mov dword [esi + 0x40], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x15c]
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x4c], eax
cmp byte [ebp - 0x36], 0
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
je 0x50b18f
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + 0x58]
jmp 0x50b195
mov ebx, dword [edi + 0x128]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x128]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx]
mov dword [esi + 0x50], eax
push dword [esi + 0x34]
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp byte [ebp - 0x36], 0
je 0x50b1c1
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x5c]
jmp 0x50b1c7
mov eax, dword [edi + 0x130]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
push eax
call dword [edx + 0x50]
mov ecx, dword [esi + 0x50]
push dword [edi + 0xa4]
mov eax, dword [ecx]
call dword [eax + 0x48]
cmp byte [ebp - 0x35], 0
je 0x50b1ec
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + 0x60]
jmp 0x50b1f2
mov ebx, dword [edi + 0x12c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x128]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx]
mov dword [esi + 0x54], eax
push dword [esi + 0x34]
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp byte [ebp - 0x35], 0
je 0x50b21e
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x64]
jmp 0x50b224
mov eax, dword [edi + 0x134]
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
push eax
call dword [edx + 0x50]
mov ecx, dword [esi + 0x54]
push dword [edi + 0xa4]
mov eax, dword [ecx]
call dword [eax + 0x48]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x44]
call fcn.004d94b8
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x44]
mov esi, dword [esi + 0x4c]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x80]
sub eax, esi
lea ecx, [ecx + edx*4]
cmp eax, dword [ecx]
jle 0x50b270
mov dword [ecx], eax
cmp byte [ebp - 0x51], 0
je 0x50b27f
inc dword [ebp - 0x78]
inc dword [ebp - 0x60]
inc dword [ebp - 0x14]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.004d65a1
xor ebx, ebx
inc dword [ebp - 0x60]
inc dword [ebp - 0x14]
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
inc dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jl 0x50ac85
lea ebx, [edi + 0x44]
mov eax, dword [ebx + 0x14]
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.005ebcf7
mov eax, dword [ebx + 0x14]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.005ebcf7
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.005ebcf7
mov eax, dword [ebx + 0x14]
push ebx
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 0xd], 0
call fcn.005ebcf7
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x50]
call fcn.00451a15
test al, al
jne 0x50b397
push 0x682780
lea ecx, [ebp - 0xc4]
call fcn.00404096
mov esi, eax
or dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.005c1dda
mov eax, dword [eax]
push esi
mov ecx, eax
call fcn.00404ccc
test eax, eax
je 0x50b35d
push 0x682784
lea ecx, [ebp + 0x84]
call fcn.00404096
mov esi, eax
or dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xb
call fcn.005c1dda
mov eax, dword [eax]
push esi
mov ecx, eax
call fcn.00404ccc
mov byte [ebp - 0xd], 0
test eax, eax
jne 0x50b361
mov byte [ebp - 0xd], 1
test byte [ebp - 0x1c], 0x10
je 0x50b37a
and dword [ebp - 0x1c], 0xffffffef
push 0
push 1
lea ecx, [ebp + 0x84]
call fcn.00403f20
and dword [ebp - 4], 0
test byte [ebp - 0x1c], 8
je 0x50b397
and dword [ebp - 0x1c], 0xfffffff7
push 0
push 1
lea ecx, [ebp - 0xc4]
call fcn.00403f20
mov eax, dword [ebx + 0x14]
or dword [ebp - 0x28], 0xffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
call fcn.005ebcf7
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.00451a15
test al, al
jne 0x50b3c8
lea ecx, [ebp - 0x50]
call fcn.005c1dda
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x14]
push ebx
push eax
lea ecx, [ebp - 0xcc]
call fcn.005ebcf7
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00451a15
test al, al
jne 0x50ba1d
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3c], eax
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
mov eax, dword [ebx + 0x14]
push ebx
push eax
lea ecx, [ebp - 0xd4]
call fcn.005ebcf7
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x48]
call fcn.00451a15
test al, al
jne 0x50b630
cmp byte [ebp - 0xd], al
je 0x50b630
lea ecx, [ebp - 0x48]
call fcn.005c1dda
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.005c1dda
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x1c]
cmp ecx, dword [eax + 0x1c]
jne 0x50b630
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
cmp dword [eax + 0x1c], ecx
jne 0x50b630
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
cmp dword [eax + 0x34], 0
je 0x50b59c
lea ecx, [ebp + 0x1c]
call fcn.004d6bd0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
call fcn.005149d2
push eax
lea ecx, [ebp + 0x1c]
call fcn.00507f46
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 0x150]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x154]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], eax
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x158]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.005c1dda
mov ebx, eax
call fcn.00507440
mov ecx, dword [ebx]
push dword [ecx + 0x34]
mov ecx, eax
call fcn.00514e21
mov dword [ebp - 0x20], esi
cmp esi, 2
jne 0x50b528
mov dword [ebp - 0x20], 7
jmp 0x50b542
cmp esi, 9
jne 0x50b536
mov dword [ebp - 0x20], 0xc
jmp 0x50b542
cmp esi, 0xd
jne 0x50b542
mov dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov ebx, eax
call fcn.00507440
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
call fcn.005c1dda
push dword [ebp - 0x2c]
lea ecx, [ebp + 0x1c]
push dword [ebp - 0x40]
mov esi, eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call fcn.0050c840
mov ecx, dword [ebp - 0x28]
push eax
push 1
push 0x15
push dword [ebp - 0x3c]
lea eax, [ebp + 0x1c]
push dword [ebp - 0x20]
push eax
push dword [ebx]
call fcn.00515357
mov ecx, dword [esi]
mov dword [ecx + 0x34], eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.004d65a1
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x50]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
push dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x54]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
push dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
lea ecx, [ebp - 0xf4]
mov ebx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [ebx]
mov edx, dword [eax]
mov dword [ecx + 0x40], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x44], eax
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
lea ecx, [ebp - 0xec]
jmp 0x50ba03
mov eax, dword [ebx + 0x14]
push ebx
push eax
lea ecx, [ebp - 0xa8]
call fcn.005ebcf7
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00451a15
test al, al
jne 0x50b831
lea ecx, [ebp - 0x48]
call fcn.005c1dda
lea ecx, [ebp - 0x18]
mov ebx, eax
call fcn.005c1dda
mov ecx, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x1c]
cmp ecx, dword [eax + 0x1c]
jne 0x50b831
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
cmp dword [eax + 0x34], 0
je 0x50b79d
lea ecx, [ebp + 0x1c]
call fcn.004d6bd0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
call fcn.005149d2
push eax
lea ecx, [ebp + 0x1c]
call fcn.00507f46
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax + 0x150]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x154]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], eax
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x158]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.005c1dda
mov ebx, eax
call fcn.00507440
mov ecx, dword [ebx]
push dword [ecx + 0x34]
mov ecx, eax
call fcn.00514e21
mov dword [ebp - 0x20], esi
cmp esi, 2
jne 0x50b729
mov dword [ebp - 0x20], 3
jmp 0x50b743
cmp esi, 9
jne 0x50b737
mov dword [ebp - 0x20], 0xa
jmp 0x50b743
cmp esi, 0xd
jne 0x50b743
mov dword [ebp - 0x20], 0xe
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov ebx, eax
call fcn.00507440
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
call fcn.005c1dda
push dword [ebp - 0x2c]
lea ecx, [ebp + 0x1c]
push dword [ebp - 0x40]
mov esi, eax
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call fcn.0050c840
mov ecx, dword [ebp - 0x28]
push eax
push 1
push 0x15
push dword [ebp - 0x3c]
lea eax, [ebp + 0x1c]
push dword [ebp - 0x20]
push eax
push dword [ebx]
call fcn.00515357
mov ecx, dword [esi]
mov dword [ecx + 0x34], eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.004d65a1
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x50]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
push dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x54]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
push dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
lea ecx, [ebp - 0xfc]
mov ebx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [ebx]
mov edx, dword [eax]
mov dword [ecx + 0x40], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x44], eax
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
lea ecx, [ebp - 0xe4]
jmp 0x50ba03
cmp byte [ebp - 0xd], 0
je 0x50ba1d
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
cmp dword [eax + 0x1c], ecx
jne 0x50ba1d
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
cmp dword [eax + 0x34], 0
je 0x50b95e
lea ecx, [ebp + 0x1c]
call fcn.004d6bd0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
call fcn.005149d2
push eax
lea ecx, [ebp + 0x1c]
call fcn.00507f46
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 0x6c]
push edx
call dword [eax + 0x150]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x154]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x40], eax
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x158]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], esi
cmp esi, 2
jne 0x50b8e6
mov dword [ebp - 0x20], 4
jmp 0x50b900
cmp esi, 9
jne 0x50b8f4
mov dword [ebp - 0x20], 0xb
jmp 0x50b900
cmp esi, 0xd
jne 0x50b900
mov dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov ebx, eax
call fcn.00507440
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
call fcn.005c1dda
push dword [ebp - 0x2c]
lea ecx, [ebp + 0x1c]
push dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
call fcn.0050c840
mov ecx, dword [ebp - 0x28]
push eax
push 1
push 0x15
push dword [ebp - 0x3c]
lea eax, [ebp + 0x1c]
push dword [ebp - 0x20]
push eax
push dword [ebx]
call fcn.00515357
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [ecx + 0x34], eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.004d65a1
cmp esi, 2
jne 0x50b974
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov dword [eax + 0x28], 1
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x50]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
push dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x54]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
push dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
lea ecx, [ebp - 0xdc]
mov ebx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [ebx]
mov edx, dword [eax]
mov dword [ecx + 0x40], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x44], eax
lea ecx, [ebp - 0x18]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
lea ecx, [ebp - 0x18]
call fcn.005c1dda
lea ecx, [ebp - 0x104]
mov ebx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x15c]
mov edx, dword [eax]
mov ecx, dword [ebx]
mov dword [ecx + 0x48], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x4c], eax
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
je 0x50ba34
lea eax, [ebp - 0x50]
jmp 0x50ba4c
lea eax, [edi + 0x44]
push eax
push dword [eax + 0x14]
lea ecx, [ebp - 0x88]
call fcn.005ebcf7
lea eax, [ebp - 0x88]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [edi + 0x44]
push ebx
push dword [ebx + 0x14]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x14], eax
call fcn.005ebcf7
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x50]
call fcn.00451a15
test al, al
jne 0x50ba84
lea ecx, [ebp - 0x50]
call fcn.004fe4d7
push ebx
push dword [ebx + 0x14]
lea ecx, [ebp - 0xa0]
call fcn.005ebcf7
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x50]
call fcn.00451a15
test al, al
je 0x50b2d1
push ebx
push dword [ebx + 0x14]
lea ecx, [ebp - 0x90]
call fcn.005ebcf7
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x18]
call fcn.00451a15
test al, al
je 0x50b2d1
mov eax, dword [edi + 0x9c]
mov ebx, dword [edi + 0x5c]
xor esi, esi
dec ebx
cmp ebx, esi
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
jle 0x50bb4a
lea eax, [edi + 0x44]
push eax
mov eax, dword [eax + 0x14]
push dword [eax]
lea ecx, [ebp - 0x5c]
call fcn.005ebcf7
lea ecx, [ebp - 0x5c]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x30], eax
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x44], eax
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
sub esi, dword [ebp - 0x48]
add esi, dword [ebp - 0x34]
imul esi, ebx
neg esi
lea ebx, [edi + 0x44]
mov eax, dword [ebx + 0x14]
push ebx
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.005ebcf7
push ebx
push dword [ebx + 0x14]
jmp 0x50bc76
lea ecx, [ebp - 0x34]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x44], eax
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x58], eax
call fcn.005c1dda
mov eax, dword [eax]
mov ebx, dword [eax + 0x1c]
cmp ebx, dword [ebp - 0x28]
je 0x50bbcd
lea ecx, [ebp - 0x34]
call fcn.005c1dda
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
sub esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x80]
add esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x28]
imul esi, dword [ebp - 0x2c]
mov eax, dword [eax + ecx*4]
add eax, dword [edi + 0x118]
neg esi
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x28], ebx
mov ebx, dword [eax + ebx*4]
sub ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x34]
add ebx, dword [ebp - 0x3c]
call fcn.005c1dda
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
mov dword [eax + 0x20], esi
call fcn.005c1dda
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
mov dword [eax + 0x24], ebx
call fcn.005c1dda
mov eax, dword [eax]
cmp dword [eax + 0x50], 0
je 0x50bc24
lea ecx, [ebp - 0x34]
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [ebp - 0x40]
mov edx, dword [ecx]
add eax, ebx
push eax
mov eax, dword [ebp - 0x20]
add eax, esi
push eax
call dword [edx + 0x44]
lea ecx, [ebp - 0x34]
call fcn.005c1dda
mov eax, dword [eax]
cmp dword [eax + 0x54], 0
je 0x50bc52
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
add ebx, eax
call fcn.005c1dda
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
mov eax, dword [ebp - 0x20]
mov edx, dword [ecx]
push ebx
add eax, esi
push eax
call dword [edx + 0x44]
lea ecx, [ebp - 0x34]
call fcn.005c1dda
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
sub eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
add eax, dword [ebp - 0x48]
add esi, eax
call fcn.004fe4d7
lea eax, [edi + 0x44]
push eax
push dword [eax + 0x14]
lea ecx, [ebp - 0x18]
call fcn.005ebcf7
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00451a15
test al, al
je 0x50bb64
push dword [ebp - 0x80]
call fcn.0062cd6b
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x9c]
push 0
push 1
lea ecx, [ebp + 0x68]
call fcn.00403f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa0]
xor ecx, ebp
call fcn.0062c8c8
add ebp, 0xa4
leave
ret 4