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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, 0xffff
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
xor esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x50], eax
jmp 0x501fb0
mov ecx, dword [esp + 0x50]
xor edx, edx
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x54]
add eax, ecx
mov ax, word [ebx + eax*2]
movzx ebx, ax
and ebx, 0x80000001
jns 0x501fd4
dec ebx
or ebx, 0xfffffffe
inc ebx
je 0x501fe7
mov ebx, dword [esp + 0x14]
cmp bx, 0xffff
jne 0x50200c
mov dword [esp + 0x14], eax
jmp 0x502015
cmp di, 0xffff
jne 0x501ff6
mov edi, eax
mov dword [esp + 0x24], edi
jmp 0x502015
cmp ax, di
je 0x502015
mov ebx, dword [esp + 0xc]
cmp bx, 0xffff
jne 0x50200c
mov dword [esp + 0xc], eax
jmp 0x502015
cmp ax, bx
jne 0x5020e5
mov ebx, dword [ebp + 0xc]
mov word [esp + esi*2 + 0xb4], ax
mov eax, dword [ebx + 0xc]
inc esi
add ecx, eax
inc edx
cmp edx, 2
jbe 0x501fb6
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx + 0x10]
add eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 2
mov dword [esp + 0x38], eax
jbe 0x501fb0
mov eax, dword [esp + 0x14]
mov ecx, 0xffff
cmp ax, cx
je 0x5020ee
movzx eax, ax
dec eax
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x1c]
sar eax, 1
shl eax, 5
add eax, esi
cmp word [esp + 0xc], cx
mov dword [esp + 0x4c], eax
jne 0x5020b5
cmp di, cx
mov cx, word [eax]
jne 0x502098
mov dx, word [eax + 2]
mov word [esp + 0x24], cx
mov word [esp + 0xc], dx
jmp 0x50213a
cmp di, cx
je 0x5020a7
cmp di, word [eax + 2]
jne 0x5020e5
mov dword [esp + 0x24], ecx
mov cx, word [eax + 2]
mov word [esp + 0xc], cx
jmp 0x50213a
mov cx, word [eax]
cmp di, cx
jne 0x5020d1
mov dx, word [esp + 0xc]
cmp dx, word [eax + 2]
je 0x50213a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dx, word [eax + 2]
cmp di, dx
jne 0x5020e5
cmp word [esp + 0xc], cx
je 0x50219a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esp + 0xc], cx
je 0x5020e5
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1c]
mov esi, dword [esp + 0xc]
movzx eax, di
shr eax, 1
shl eax, 5
mov cx, word [eax + edx]
add eax, edx
cmp cx, di
mov dword [esp + 0x4c], eax
jne 0x50211d
cmp word [eax + 2], si
je 0x502135
cmp cx, si
jne 0x502168
xor esi, esi
mov si, word [eax + 2]
cmp si, di
jne 0x502164
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], esi
inc edi
mov dword [esp + 0x14], edi
cmp dword [eax + 0x1c], 1
jne 0x50224d
lea ecx, [eax + 0xc]
lea edx, [eax + 0x14]
mov dword [esp + 0x60], 3
mov dword [esp + 0x58], 0xfffc
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], edx
jmp 0x5021ba
mov esi, dword [esp + 0xc]
movzx eax, si
shr eax, 1
shl eax, 5
mov cx, word [eax + edx]
add eax, edx
cmp cx, di
mov dword [esp + 0x4c], eax
jne 0x502185
cmp word [eax + 2], si
je 0x502135
cmp cx, si
jne 0x5021a4
xor edx, edx
mov dx, word [eax + 2]
cmp dx, di
jne 0x5021a4
inc esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], edx
jmp 0x50213a
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], 2
mov dword [esp + 0x58], 0xfffd
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
lea ecx, [ebx + 0x18]
jne 0x5022d2
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x48], edi
lea edi, [esp + 0x90]
lea ebx, [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
sub edi, ecx
mov dword [esp + 0x20], edx
sub ebx, ecx
mov dword [esp + 0x28], 3
nop
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
add esi, 0x18
mov dword [esp + 0x1c], ecx
lea esi, [esi + eax*4]
mov dword [esp + 0x40], 3
lea esp, [esp]
mov dx, word [esp + 0x24]
cmp word [esp + eax*2 + 0xb4], dx
lea edx, [esp + 0x1c]
jne 0x502270
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
mov dword [edi + esi], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.005016b0
fstp dword [ebx + esi]
jmp 0x502288
lea ecx, [eax + 0xc]
lea edx, [eax + 0x14]
mov dword [esp + 0x60], 4
mov dword [esp + 0x58], 0xfffb
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], edx
jmp 0x5021ba
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.005016b0
fstp dword [edi + esi]
mov ecx, dword [esi]
mov dword [ebx + esi], ecx
fld dword [esp + 0x28]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
fadd dword [esp + 0x48]
add esp, 0xc
inc eax
add esi, 4
fstp dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
jne 0x502220
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
fadd dword [esp + 0x3c]
dec ecx
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x20]
jne 0x502200
jmp 0x502568
mov edx, dword [ebx + 0x14]
mov eax, dword [esp + 0x34]
mov ebx, ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edi
sub ebx, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], 0
mov ax, word [esp + edi*2 + 0xb4]
cmp ax, word [esp + 0x24]
movzx ecx, ax
mov dword [esp + 0x2c], ecx
lea esi, [esp + edi*4 + 0x90]
jne 0x50233f
mov edx, dword [ebx + esi]
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov dword [esi], edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.005016b0
fstp dword [esp + edi*4 + 0x78]
add esp, 0xc
jmp 0x502373
cmp ax, word [esp + 0xc]
jne 0x502368
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.005016b0
fstp dword [esi]
mov eax, dword [ebx + esi]
add esp, 0xc
mov dword [esp + edi*4 + 0x6c], eax
jmp 0x502373
mov ecx, dword [ebx + esi]
mov edx, ecx
mov dword [esi], ecx
mov dword [esp + edi*4 + 0x6c], edx
mov eax, dword [esp + 0x4c]
fld dword [esp + 0x1c]
fsub dword [eax + 4]
mov ecx, dword [esp + 0x64]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fsub dword [eax + 8]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fmul dword [ecx]
fld dword [esp + 0x30]
fmul dword [ecx + 4]
faddp st(1)
fst dword [esp + 0x50]
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x5023f5
fld dword [esp + 0x30]
fmul dword [ecx]
fld dword [esp + 0x28]
fmul dword [ecx + 4]
fsubp st(1)
fcom dword [0x53d7c0]
fld st(0)
fnstsw ax
test ah, 5
jp 0x5023d1
fchs
fld dword [esi]
fcom dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x5023e2
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x5023f3
fstp dword [esi]
jmp 0x5023f5
fstp st(0)
mov ecx, dword [esp + 0x5c]
fld dword [esp + 0x30]
fmul dword [ecx + 4]
fld dword [esp + 0x28]
fmul dword [ecx]
faddp st(1)
fcom dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x50245d
fld dword [esp + 0x28]
fmul dword [ecx + 4]
fld dword [esp + 0x30]
fmul dword [ecx]
fsubp st(1)
fcom dword [0x53d7c0]
fld st(0)
fnstsw ax
test ah, 5
jp 0x502435
fchs
fld dword [esp + edi*4 + 0x6c]
fcom dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x502448
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50245b
fstp dword [esp + edi*4 + 0x6c]
jmp 0x50245d
fstp st(0)
fld dword [esp + 0x50]
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 0x41
jne 0x502475
mov edx, 1
jmp 0x502477
xor edx, edx
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 0x41
jne 0x50248b
mov ecx, 1
jmp 0x50248d
xor ecx, ecx
lea eax, [edx + edx]
or eax, ecx
cmp eax, 3
ja case.default.0x50249b
jmp dword [eax*4 + 0x502b34]
movzx ecx, word [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jne 0x5024e6
fld dword [esp + edi*4 + 0x6c]
fcom dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x5024c2
fchs
fld dword [esi]
fcom dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x5024d3
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x5020e5
jmp case.default.0x50249b
movzx edx, word [esp + 0xc]
cmp eax, edx
jne case.default.0x50249b
fld dword [esi]
fcom dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x502500
fchs
fld dword [esp + edi*4 + 0x6c]
jmp 0x5024c4
movzx eax, word [esp + 0x24]
cmp dword [esp + 0x2c], eax
jmp 0x502525
movzx ecx, word [esp + 0xc]
cmp dword [esp + 0x2c], ecx
jmp 0x502525
movzx edx, word [esp + 0x14]
cmp dword [esp + 0x2c], edx
jne 0x5020e5
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
fadd dword [esp + 0x3c]
inc edi
inc eax
cmp eax, 2
fstp dword [esp + 0x1c]
mov dword [esp + 0x40], eax
jbe 0x502300
fld dword [esp + 0x20]
mov eax, dword [esp + 0x38]
fadd dword [esp + 0x3c]
inc eax
cmp eax, 2
mov dword [esp + 0x38], eax
fstp dword [esp + 0x20]
jbe 0x5022f0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, 1
jbe 0x5029df
fld dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
fmul dword [0x540fe0]
mov edx, dword [ecx + 4]
fld dword [esp + 0x34]
mov ecx, dword [edx + 4]
mov edx, dword [esi + 8]
fadd st(1)
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x10]
shr ecx, 1
fstp dword [esp + 0x20]
add ecx, edx
mov dword [esp + 0x28], 0x3e800000
fadd dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], 0
fstp dword [esp + 0x68]
mov edi, edi
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
mov edi, dword [ebp + 8]
shr eax, 1
add eax, ecx
mov ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], 0x3e800000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], 0
jmp 0x5025f0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
test eax, eax
lea edx, [esp + 0x1c]
push ecx
push edx
jne 0x502701
mov eax, dword [edi]
push eax
call fcn.005016b0
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
push ecx
push esi
lea eax, [esp + 0xa4]
call fcn.004ff860
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
add esp, 0xc
fsub dword [esp + 0x1c]
fstp qword [esp]
call fcn.004d4550
fcomp dword [esp + 0x38]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x5020e5
mov edx, dword [esp + 0xc]
mov ecx, dword [edi]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.005016b0
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
push edx
push esi
lea eax, [esp + 0x80]
call fcn.004ff860
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
add esp, 0xc
fsub dword [esp + 0x20]
fstp qword [esp]
call fcn.004d4550
fcomp dword [esp + 0x38]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x5020e5
mov eax, dword [esp + 0x44]
mov edx, dword [edi + 0xc]
lea ecx, [ebx + eax]
fld dword [edx + ecx*4]
fld dword [esp + 0x18]
fcomp dword [0x53d7c0]
fld dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x5026c6
fchs
fld dword [esp + 0x14]
fcomp dword [0x53d7c0]
fld dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x5026dd
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x5026f2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fsub dword [esp + 0x14]
sub esp, 8
fstp qword [esp]
jmp 0x502959
fld dword [esp + 0x24]
mov esi, dword [esp + 0x6c]
fsub dword [eax + 4]
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fsub dword [eax + 8]
mov eax, dword [esp + 0x64]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fmul dword [esi]
fld dword [esp + 0x3c]
fmul dword [esi + 4]
faddp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fmul dword [eax]
fld dword [esp + 0x3c]
fmul dword [eax + 4]
mov eax, dword [edi]
push eax
faddp st(1)
fstp dword [esp + 0x5c]
call fcn.005016b0
fstp dword [esp + 0x1c]
add esp, 0xc
fld dword [esp + 0x54]
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 0x41
jp 0x5027b1
fld dword [esp + 0x34]
fmul dword [esi]
fld dword [esp + 0x2c]
fmul dword [esi + 4]
fsubp st(1)
fcom dword [0x53d7c0]
fld st(0)
fnstsw ax
test ah, 5
jp 0x502785
fchs
fld dword [esp + 0x10]
fcomp dword [0x53d7c0]
fld dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x50279c
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x5027af
fstp dword [esp + 0x10]
jmp 0x5027b1
fstp st(0)
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
push ecx
push esi
lea eax, [esp + 0x98]
call fcn.004ff860
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fsub dword [esp + 0x1c]
fstp qword [esp]
call fcn.004d4550
fcomp dword [esp + 0x38]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x5020e5
mov edx, dword [esp + 0xc]
mov ecx, dword [edi]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.005016b0
fstp dword [esp + 0x1c]
fld dword [esp + 0x5c]
add esp, 0xc
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 0x41
jp 0x502867
mov eax, dword [esp + 0x5c]
fld dword [esp + 0x2c]
fmul dword [eax + 4]
fld dword [esp + 0x34]
fmul dword [eax]
fsubp st(1)
fcom dword [0x53d7c0]
fld st(0)
fnstsw ax
test ah, 5
jp 0x50283b
fchs
fld dword [esp + 0x10]
fcomp dword [0x53d7c0]
fld dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x502852
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x502865
fstp dword [esp + 0x10]
jmp 0x502867
fstp st(0)
mov edx, dword [esp + 0x28]
push edx
push esi
lea eax, [esp + 0x74]
call fcn.004ff860
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fsub dword [esp + 0x20]
fstp qword [esp]
call fcn.004d4550
fcomp dword [esp + 0x38]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x5020e5
mov eax, dword [esp + 0x44]
mov edx, dword [edi + 0xc]
lea ecx, [ebx + eax]
fld dword [edx + ecx*4]
fstp dword [esp + 0x10]
fld dword [esp + 0x54]
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 0x41
jne 0x5028c5
mov edx, 1
jmp 0x5028c7
xor edx, edx
fld dword [esp + 0x50]
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 0x41
jne 0x5028df
mov ecx, 1
jmp 0x5028e1
xor ecx, ecx
lea eax, [edx + edx]
or eax, ecx
sub eax, 0
je 0x50291a
dec eax
je 0x502914
sub eax, 2
fld dword [esp + 0x14]
jne 0x50294b
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld st(1)
fmul st(2)
fsubp st(1)
fcomp dword [0x53d7c0]
fnstsw ax
test ah, 5
jp 0x50294b
fstp st(0)
fld dword [esp + 0x18]
jmp 0x50294b
fld dword [esp + 0x34]
sub esp, 8
fmul dword [esp + 0x3c]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fstp qword [esp]
call fcn.004d4560
mov eax, dword [esp + 0x60]
add esp, 8
cmp eax, 0xfffb
jne 0x50294b
fmul dword [0x540268]
fld dword [esp + 0x10]
sub esp, 8
fsub st(1)
fstp qword [esp]
fstp st(0)
call fcn.004d4550
fcomp dword [esp + 0x38]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x5020e5
fld dword [esp + 0x48]
mov edx, dword [ebp + 0xc]
fadd dword [0x540fe0]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x40]
add ebx, eax
fstp dword [esp + 0x48]
inc ecx
cmp ecx, 2
fld dword [esp + 0x1c]
fadd dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
fstp dword [esp + 0x1c]
jb 0x5025f0
fld dword [esp + 0x28]
mov ecx, dword [edx + 0x10]
fadd dword [0x540fe0]
mov edi, dword [esp + 0x44]
add edi, ecx
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x28]
inc ecx
cmp ecx, 2
fld dword [esp + 0x20]
fadd dword [esp + 0x3c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], ecx
fstp dword [esp + 0x20]
jb 0x5025c0
mov esi, edx
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x18]
mov eax, dword [edx + 0x14]
add ecx, ebx
add ecx, dword [esi + 8]
add ecx, dword [esi + 4]
test edi, edi
mov dword [esp + 0x68], edi
fild dword [esp + 0x68]
lea eax, [eax + edi*4]
jge 0x502a0b
fadd dword [0x5415b8]
mov esi, dword [edx + 0xc]
fstp dword [esi + ecx*4]
mov esi, dword [edx + 0x10]
mov di, word [esp + 0x58]
mov word [esi + ecx*2], di
mov ecx, dword [esp + 0x90]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x70]
add eax, 0x24
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
add eax, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
add eax, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
add eax, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
add eax, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
add eax, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
add eax, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x8c]
add eax, 4
add eax, 4
mov dword [eax], ecx
mov edi, dword [edx + 0x18]
mov ecx, dword [esp + 0x4c]
add edi, 0x12
add eax, 4
test ecx, ecx
mov dword [edx + 0x18], edi
je 0x502b27
mov esi, dword [ecx + 4]
mov dword [eax], esi
mov ecx, dword [ecx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx]
add eax, 4
mov dword [eax + 4], esi
mov ecx, dword [ecx + 4]
add eax, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov esi, dword [ecx]
add eax, 4
add eax, 4
mov dword [eax], esi
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
add dword [edx + 0x18], 6
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret