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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x612946
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0xa8], ebp
mov eax, dword [ebp + 0x30]
cmp eax, 1
jbe 0x50dae0
lea ecx, [esp + 0x40]
call fcn.004b6ad0
mov ecx, dword [0x6b1ff8]
push 2
xor edi, edi
push 0x17
mov dword [esp + 0x2f0], edi
call fcn.0050f050
fldz
mov ecx, dword [0x6b1ff8]
fst dword [esp + 0x23c]
fst dword [esp + 0x238]
lea eax, [esp + 0x204]
fst dword [esp + 0x234]
push eax
fst dword [esp + 0x234]
push 0x100
fst dword [esp + 0x230]
fst dword [esp + 0x22c]
fst dword [esp + 0x228]
fst dword [esp + 0x224]
fst dword [esp + 0x21c]
fst dword [esp + 0x218]
fst dword [esp + 0x214]
fstp dword [esp + 0x210]
fld1
fst dword [esp + 0x248]
fst dword [esp + 0x234]
fst dword [esp + 0x220]
fstp dword [esp + 0x20c]
call fcn.0050fbe0
mov ecx, dword [0x6b1ff8]
push 0x142
call fcn.0050f0f0
mov ecx, dword [0x6b1ff8]
push 1
push 0x16
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push 1
push 0x1b
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push 5
push 0x13
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push 2
push 0x14
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push 1
push 0xf
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push 5
push 0x19
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push edi
push 0x18
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push 1
push 0xab
call fcn.0050f050
mov ecx, dword [0x6b1ff8]
push edi
push 2
push edi
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push 2
push 3
push edi
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push 2
push 1
push edi
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push edi
push 5
push edi
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push 2
push 6
push edi
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push 2
push 4
push edi
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push 1
push 1
push 1
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push 1
push 4
push 1
call fcn.0050e990
mov ecx, dword [0x6b1ff8]
push edi
push 0x89
call fcn.0050e910
mov ecx, dword [0x6b1ff8]
push edi
push edi
call fcn.0050e950
mov ecx, dword [0x6b1ff8]
push edi
push 1
call fcn.0050e950
lea ecx, [esp + 0x64]
call fcn.00510090
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e8], 1
call fcn.00513b30
mov ecx, dword [0x6b4658]
call fcn.004cca80
mov dword [esp + 0x74], eax
cmp eax, edi
jne 0x50cfd0
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e8], 0
call fcn.005100b0
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x50cfba
push eax
call fcn.005c5896
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
push ecx
jmp 0x50dad8
fldz
mov esi, dword [ebp + 0x2c]
fst dword [esp + 0x15c]
fst dword [esp + 0x158]
fst dword [esp + 0x154]
fst dword [esp + 0x150]
fst dword [esp + 0x148]
fst dword [esp + 0x144]
fst dword [esp + 0x140]
fst dword [esp + 0x13c]
fst dword [esp + 0x134]
fst dword [esp + 0x130]
fst dword [esp + 0x12c]
fstp dword [esp + 0x128]
fld1
fst dword [esp + 0x160]
fst dword [esp + 0x14c]
fst dword [esp + 0x138]
fstp dword [esp + 0x124]
mov edx, dword [eax + 0x54]
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x68], edx
fld dword [esp + 0x68]
mov edx, dword [eax + 0x5c]
fstp dword [esp + 0x144]
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x6c], ecx
fld dword [esp + 0x6c]
fstp dword [esp + 0x148]
mov dword [esp + 0x70], edx
fld dword [esp + 0x70]
add eax, esi
fstp dword [esp + 0x14c]
cmp esi, eax
jbe 0x50d08b
call fcn.005c5aaf
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
call fcn.004ed660
mov ebx, dword [esp + 0x24]
jmp 0x50d0b0
mov eax, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x30]
add esi, eax
cmp eax, esi
jbe 0x50d0c1
call fcn.005c5aaf
mov eax, dword [ebp + 0x14]
cmp ebx, edi
je 0x50d0cc
cmp ebx, eax
je 0x50d0d1
call fcn.005c5aaf
cmp dword [esp + 0x28], esi
je 0x50d92c
lea ecx, [esp + 0x1c]
call fcn.00552d70
mov esi, eax
lea ecx, [esp + 0x24]
add esi, 4
call fcn.00552d70
fld dword [eax + 4]
fsub dword [esi]
add eax, 4
fstp dword [esp + 0x58]
fld dword [eax + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x5c]
fld dword [eax + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x60]
fld dword [esp + 0x5c]
fabs
fstp dword [esp + 0x18]
fld dword [esp + 0x60]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x50d13f
fxch st(1)
fst dword [esp + 0x18]
jmp 0x50d145
fst dword [esp + 0x18]
fxch st(1)
fld dword [esp + 0x58]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x50d166
fstp st(1)
fstp st(1)
jmp 0x50d177
fstp st(0)
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x50d175
fstp st(1)
jmp 0x50d177
fstp st(0)
lea ecx, [esp + 0x1c]
fstp dword [esp + 0x14]
call fcn.00552d70
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00552d70
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.00552d70
fld dword [esp + 0x5c]
fld qword [0x6221e0]
push ecx
fmul st(1), st(0)
lea ecx, [esp + 0x16c]
fxch st(1)
fadd dword [edi + 8]
fstp dword [esp + 0x1c]
fld dword [esi + 0xc]
fld dword [esp + 0x64]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x34]
fld dword [eax + 4]
fld dword [esp + 0x5c]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x16c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x170]
fld dword [esp + 0x34]
fstp dword [esp + 0x174]
fmul dword [esp + 0x18]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
push ecx
mov ecx, 0x6bb0e8
call fcn.00549fb0
cmp eax, 2
je 0x50d8cc
mov esi, dword [0x6b47a4]
lea ecx, [esp + 0x1c]
call fcn.00552d70
mov ecx, esi
mov edi, eax
call fcn.0053d010
fsub dword [edi]
mov esi, dword [0x6b47a4]
lea ecx, [esp + 0x24]
fdiv dword [ebp + 0x10]
fld1
fsubrp st(1)
fstp dword [esp + 0x30]
call fcn.00552d70
mov ecx, esi
mov edi, eax
call fcn.0053d010
fsub dword [edi]
cmp byte [ebp + 4], 0
fdiv dword [ebp + 0x10]
fld1
fsubrp st(1)
fstp dword [esp + 0x2c]
fld dword [ebp + 0xc]
fstp dword [esp + 0x14]
fld dword [ebp + 0xc]
fstp dword [esp + 0x18]
jne 0x50d287
fld dword [esp + 0x14]
fmul dword [esp + 0x30]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x18]
fldz
fst dword [esp + 0xe4]
fst dword [esp + 0xe8]
fst dword [esp + 0xcc]
fld dword [esp + 0x14]
mov edx, dword [esp + 0xcc]
fst dword [esp + 0xd0]
mov dword [esp + 0x174], edx
mov edx, dword [esp + 0xe4]
fxch st(1)
fst dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
fst dword [esp + 0xf8]
mov ecx, dword [esp + 0xd4]
fld dword [0x621f18]
mov dword [esp + 0x17c], ecx
fst dword [esp + 0xfc]
mov ecx, dword [esp + 0xe8]
fld st(2)
mov dword [esp + 0x184], edx
fchs
mov dword [esp + 0x188], ecx
fstp dword [esp + 0xec]
mov dword [esp + 0x178], eax
mov edx, dword [esp + 0xec]
fxch st(1)
fst dword [esp + 0xf0]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xf0]
fst dword [esp + 0xf4]
fxch st(1)
mov dword [esp + 0x18c], edx
mov edx, dword [esp + 0xf4]
fst dword [esp + 0xb8]
fxch st(1)
mov dword [esp + 0x190], ecx
mov ecx, dword [esp + 0xf8]
fst dword [esp + 0xbc]
fst dword [esp + 0x88]
mov dword [esp + 0x194], edx
mov edx, dword [esp + 0xfc]
fst dword [esp + 0x8c]
fxch st(2)
mov dword [esp + 0x19c], ecx
fstp dword [esp + 0x84]
mov dword [esp + 0x1a0], edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
fst dword [esp + 0x114]
mov dword [esp + 0x1a4], ecx
fld1
mov ecx, dword [esp + 0x8c]
fst dword [esp + 0x118]
mov dword [esp + 0x1a8], edx
fld dword [esp + 0x18]
mov edx, dword [esp + 0xb8]
fld st(0)
mov dword [esp + 0x1ac], ecx
mov ecx, dword [esp + 0xbc]
fchs
fstp dword [esp + 0x2c]
mov dword [esp + 0x1b4], edx
fld dword [esp + 0x2c]
mov dword [esp + 0x1b8], ecx
fst dword [esp + 0x108]
mov dword [esp + 0x180], eax
mov edx, dword [esp + 0x108]
fxch st(4)
fst dword [esp + 0x10c]
mov dword [esp + 0x1bc], edx
mov ecx, dword [esp + 0x10c]
fst dword [esp + 0x110]
mov edx, dword [esp + 0x110]
mov dword [esp + 0x1c0], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x1c4], edx
mov edx, dword [esp + 0x118]
mov dword [esp + 0x198], eax
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], ecx
fxch st(2)
mov dword [esp + 0x1d0], edx
fst dword [esp + 0x100]
mov dword [esp + 0x1e0], eax
fxch st(3)
mov dword [esp + 0x1f8], eax
fstp dword [esp + 0x104]
fstp dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1d4], ecx
fst dword [esp + 0x94]
mov edx, dword [esp + 0x94]
fst dword [esp + 0x98]
mov ecx, dword [esp + 0x98]
fxch st(1)
mov dword [esp + 0x1d8], edx
mov edx, dword [esp + 0x100]
fst dword [esp + 0x11c]
mov eax, dword [esp + 0x11c]
fstp dword [esp + 0x120]
mov dword [esp + 0x1dc], ecx
mov ecx, dword [esp + 0x104]
fst dword [esp + 0x9c]
mov dword [esp + 0x1e4], edx
fstp dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x1e8], ecx
fstp dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x1ec], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1f0], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x1fc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1f4], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x200], ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], edx
call fcn.00552d70
fld dword [esp + 0x34]
fsub dword [eax + 4]
add eax, 4
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fsub dword [eax + 4]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub dword [eax + 8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fld st(0)
fld dword [esp + 0x5c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x38]
fld st(0)
fld dword [esp + 0x60]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0xac]
fld dword [esp + 0x34]
fld st(0)
fmulp st(4)
fld dword [esp + 0x58]
fld st(0)
fmulp st(6)
fxch st(4)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0xb0]
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0xb4]
fld dword [esp + 0xb4]
fld st(0)
fld dword [esp + 0x6c]
fld st(0)
fmulp st(2)
fld dword [esp + 0xb0]
fld st(0)
fld dword [esp + 0x70]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
fld dword [esp + 0xac]
mov dword [esp + 0x78], eax
fld st(0)
lea eax, [esp + 0x78]
fmulp st(4)
push eax
fld dword [esp + 0x6c]
fld st(0)
fmulp st(6)
fxch st(4)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0xc8]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x80], ecx
fmulp st(2)
mov ecx, eax
push ecx
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0xd0]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x88], edx
call fcn.0058df9f
fld dword [esp + 0x80]
fld st(0)
lea esi, [esp + 0x174]
fld dword [esp + 0x6c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x7c]
fld st(0)
fld dword [esp + 0x70]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0xd8]
fld dword [esp + 0x78]
fld st(0)
fmulp st(4)
fld st(4)
fld dword [esp + 0x68]
fld st(0)
fmulp st(2)
fxch st(5)
fsubrp st(1)
fstp dword [esp + 0xdc]
fld st(1)
fmulp st(4)
fld st(0)
fmulp st(3)
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0xe0]
fxch st(1)
fstp dword [esp + 0x134]
fstp dword [esp + 0x138]
fstp dword [esp + 0x13c]
fld dword [esp + 0xd8]
fstp dword [esp + 0x124]
fld dword [esp + 0xdc]
fstp dword [esp + 0x128]
fld dword [esp + 0xe0]
fstp dword [esp + 0x12c]
mov edi, 6
lea esp, [esp]
lea edx, [esp + 0x124]
push edx
push esi
push esi
call fcn.0058e2c2
add esi, 0x18
sub edi, 1
jne 0x50d730
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x17c]
lea ebp, [edi + 3]
mov edi, dword [esp + 0x20]
test edx, edx
jne 0x50d787
call fcn.005c5aaf
mov edx, dword [esp + 0x1c]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x20], ecx
jb 0x50d77f
call fcn.005c5aaf
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x50d78d
mov eax, dword [edx]
jmp 0x50d78f
mov eax, dword [edx]
mov ecx, eax
jmp 0x50d76a
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp dword [eax + 0x14], ecx
ja 0x50d7a7
test edx, edx
je 0x50d7a0
mov eax, dword [edx]
jmp 0x50d7a2
xor eax, eax
mov edi, ecx
sub edi, dword [eax + 0x14]
test edx, edx
je 0x50d7af
mov eax, dword [edx]
jmp 0x50d7b1
xor eax, eax
mov eax, dword [eax + 0x10]
fld dword [esi - 8]
mov eax, dword [eax + edi*4]
fadd dword [eax + 4]
add eax, 4
add esi, 0x18
sub ebp, 1
fstp dword [esi - 0x20]
fld dword [eax + 4]
fadd dword [esi - 0x1c]
fstp dword [esi - 0x1c]
fld dword [eax + 8]
fadd dword [esi - 0x18]
fstp dword [esi - 0x18]
jne 0x50d755
mov edx, dword [esp + 0x28]
lea esi, [esp + 0x1c4]
mov ebp, 3
mov edi, edx
test ebx, ebx
jne 0x50d81f
call fcn.005c5aaf
mov edx, dword [esp + 0x28]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp edx, ecx
jb 0x50d817
call fcn.005c5aaf
mov edx, dword [esp + 0x28]
test ebx, ebx
je 0x50d825
mov eax, dword [ebx]
jmp 0x50d827
mov eax, dword [ebx]
mov ecx, eax
jmp 0x50d804
xor eax, eax
cmp dword [eax + 0x14], edx
ja 0x50d83b
test ebx, ebx
je 0x50d834
mov eax, dword [ebx]
jmp 0x50d836
xor eax, eax
mov edi, edx
sub edi, dword [eax + 0x14]
test ebx, ebx
je 0x50d843
mov eax, dword [ebx]
jmp 0x50d845
xor eax, eax
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
fld dword [eax + 4]
add eax, 4
fadd dword [esi - 8]
add esi, 0x18
sub ebp, 1
fstp dword [esi - 0x20]
fld dword [eax + 4]
fadd dword [esi - 0x1c]
fstp dword [esi - 0x1c]
fld dword [eax + 8]
fadd dword [esi - 0x18]
fstp dword [esi - 0x18]
jne 0x50d7f1
mov eax, dword [esp + 0x74]
fld dword [eax + 0x58]
mov ecx, 0x24
fmul dword [esp + 0x38]
lea esi, [esp + 0x174]
fld dword [esp + 0x34]
lea edi, [esp + 0x24c]
fmul dword [eax + 0x54]
faddp st(1)
fld dword [eax + 0x5c]
fmul dword [esp + 0x3c]
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fchs
fstp dword [esp + 0x248]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x248]
push ecx
lea ecx, [esp + 0x44]
call fcn.0050cc90
mov ebp, dword [esp + 0xa8]
test ebx, ebx
jne 0x50d920
call fcn.005c5aaf
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x28], edx
jb 0x50d8ea
call fcn.005c5aaf
mov eax, dword [esp + 0x1c]
mov esi, 1
add dword [esp + 0x28], esi
test eax, eax
jne 0x50d926
call fcn.005c5aaf
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x20], ecx
jb 0x50d915
call fcn.005c5aaf
add dword [esp + 0x20], esi
xor edi, edi
jmp 0x50d0b0
mov eax, dword [ebx]
mov ecx, eax
jmp 0x50d8d9
mov eax, dword [eax]
mov ecx, eax
jmp 0x50d904
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, eax
cmp esi, eax
jbe 0x50d947
call fcn.005c5aaf
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x40]
cmp esi, eax
jbe 0x50d954
call fcn.005c5aaf
xor ebx, ebx
cmp ebp, ebx
je 0x50d960
cmp ebp, dword [esp + 0x40]
je 0x50d965
call fcn.005c5aaf
mov ecx, edi
sub ecx, esi
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.0050c6b0
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp esi, eax
jbe 0x50d99c
call fcn.005c5aaf
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x40]
mov ebp, eax
cmp dword [esp + 0x4c], eax
jbe 0x50d9ad
call fcn.005c5aaf
cmp edi, ebx
je 0x50d9b7
cmp edi, dword [esp + 0x40]
je 0x50d9bc
call fcn.005c5aaf
cmp esi, ebp
je 0x50da13
cmp edi, ebx
jne 0x50da0b
call fcn.005c5aaf
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x50d9d5
call fcn.005c5aaf
push 0x18
lea ecx, [esi + 4]
push ecx
mov ecx, dword [0x6b1ff8]
push 4
push 5
call fcn.0050ebf0
cmp edi, ebx
jne 0x50da0f
call fcn.005c5aaf
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x50d9ff
call fcn.005c5aaf
mov eax, dword [esp + 0x50]
add esi, 0x94
jmp 0x50d9a0
mov eax, dword [edi]
jmp 0x50d9cb
mov eax, dword [edi]
jmp 0x50d9f5
mov ecx, dword [0x6b1ff8]
push 0x14
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
push 0x13
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
push 0x1b
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
push 0x16
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
call fcn.0050f110
mov ecx, dword [0x6b1ff8]
push 0x100
call fcn.0050fc10
mov ecx, dword [0x6b1ff8]
push 0x17
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
push 0xab
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
push 0xf
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
push 0x19
call fcn.0050f070
mov ecx, dword [0x6b1ff8]
push 0x18
call fcn.0050f070
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e8], bl
call fcn.005100b0
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x50dac7
push eax
call fcn.005c5896
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push edx
call fcn.005c5896
add esp, 4
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret