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

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, dword [esp + 0x110]
mov eax, dword [esi + 0x40]
push edi
mov edi, dword [esi + 0x50]
mov ecx, dword [edi + 0x48]
xor ebx, ebx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
call fcn.0052aca0
add esp, 4
cmp eax, ebx
jne 0x51d3b3
cmp byte [esi + 4], bl
je 0x51c89a
cmp byte [esi + 3], bl
je 0x51c89a
cmp byte [esi + 6], bl
je 0x51c89a
cmp byte [esi + 2], 1
jne 0x51c89a
mov dx, word [esi + 0x1c]
cmp dx, word [esi + 0x14]
jne 0x51c89a
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x4c], 1
je 0x51c89a
movzx ecx, byte [edi + 8]
mov edx, dword [edi + 0x44]
lea eax, [ecx + edx + 8]
push eax
call fcn.005127e0
add esp, 4
cmp eax, dword [esi + 0x4c]
jne 0x51c89a
push edi
mov ecx, esi
call fcn.0051aa90
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x104
ret
mov ecx, dword [esi + 0x48]
push ecx
call fcn.0052aca0
add esp, 4
cmp eax, ebx
jne 0x51d3b3
cmp byte [edi + 1], bl
push ebp
je 0x51c8f0
mov ebp, dword [esi + 0x4c]
xor ebx, ebx
cmp word [edi + 0x14], bx
jbe 0x51c8f4
nop
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
xor ecx, ecx
mov ch, byte [edx + ebx*2]
lea esi, [edx + ebx*2]
mov cl, byte [esi + 1]
add ecx, eax
push ecx
call fcn.005127e0
add esp, 4
cmp eax, ebp
je 0x51c8f4
movzx edx, word [edi + 0x14]
add ebx, 1
cmp ebx, edx
jl 0x51c8c0
jmp 0x51c8f4
movzx ebx, word [esi + 0x10]
mov eax, dword [edi + 0x48]
xor esi, esi
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
call fcn.00528800
movzx ecx, word [edi + 0x14]
lea eax, [ebx - 1]
lea edx, [eax + 3]
add esp, 4
cmp edx, ecx
mov dword [esp + 0x20], eax
jle 0x51c923
lea eax, [ecx - 2]
mov dword [esp + 0x20], eax
cmp eax, esi
jge 0x51c92d
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, eax
add eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
xor esi, esi
jmp 0x51c940
movzx eax, word [edi + 0x14]
cmp ecx, eax
jge 0x51c969
movzx ecx, word [edi + 0xe]
add ecx, dword [esp + 0x38]
mov eax, dword [edi + 0x44]
movzx edx, byte [ecx + eax + 1]
mov dh, byte [ecx + eax]
add ecx, eax
add eax, edx
mov dword [esp + esi + 0x84], eax
push eax
jmp 0x51c97b
jne 0x51ca39
movzx eax, byte [edi + 8]
mov ecx, dword [edi + 0x44]
lea edx, [eax + ecx + 8]
push edx
call fcn.005127e0
add esp, 4
test eax, eax
mov dword [esp + esi + 0xa8], eax
je 0x51ca2f
push 0
lea ebx, [esp + esi + 0x7c]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.00518180
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x51d349
mov eax, dword [ebx]
cmp byte [eax], 0
jne 0x51c9e0
push edi
push eax
call fcn.00517f80
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x51c9e8
mov eax, dword [ebx]
test eax, eax
je 0x51c9da
mov ecx, dword [eax + 0x48]
push ecx
call fcn.0052aa10
add esp, 4
mov dword [ebx], 0
test ebp, ebp
jne 0x51d349
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x14], 1
add dword [esp + 0x38], 2
mov word [eax + 0x10], cx
movzx edx, word [eax + 0x14]
movzx eax, byte [eax + 2]
add eax, dword [esp + 0x10]
mov dword [esp + esi + 0x9c], 0
add ecx, 1
add esi, 4
cmp esi, 0xc
lea edx, [eax + edx + 1]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
jge 0x51ca39
jmp 0x51c940
mov ebp, 0xb
jmp 0x51d349
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov al, byte [edi + 0x16]
movzx ecx, word [edi + 0x1c]
add esi, 3
and esi, 0xfffffffc
neg al
sbb eax, eax
and eax, esi
lea edx, [eax + ecx*8 + 0x108]
lea eax, [esi + esi*2]
lea ecx, [edx + eax*2]
push ecx
call fcn.0050db80
add esp, 4
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x51ca7c
mov ebp, 7
jmp 0x51d349
movzx ecx, word [edi + 0x1c]
lea eax, [eax + esi*4]
lea edx, [eax + esi*2]
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], edx
mov eax, 1
mov edx, dword [esp + eax*4 + 0x4c]
lea edx, [edx + ecx + 0x58]
mov dword [esp + eax*4 + 0x50], edx
add eax, 1
cmp eax, 3
jl 0x51ca93
cmp byte [edi + 0x16], 0
mov eax, dword [esp + 0x58]
lea eax, [ecx + eax + 0x58]
mov dword [esp + 0x4c], eax
je 0x51cac2
lea eax, [eax + ecx*4]
add eax, ecx
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x14]
xor ebp, ebp
test ebx, ebx
jle 0x51cb0d
lea esp, [esp]
mov eax, dword [esp + ebp*4 + 0x50]
mov edx, dword [esp + ebp*4 + 0x78]
mov edi, eax
mov esi, edx
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x54]
mov dword [eax + 0x44], ecx
mov edx, dword [edx + 0x44]
mov dword [esp + ebp*4 + 0x9c], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x1c]
push eax
push edx
push ecx
call fcn.004be710
add ebp, 1
add esp, 0xc
cmp ebp, ebx
jl 0x51cad0
mov edx, dword [esp + 0x118]
mov cl, byte [edx + 4]
movzx eax, cl
add eax, eax
xor ebx, ebx
add eax, eax
cmp byte [edx + 6], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], eax
je 0x51cb39
test cl, cl
mov dword [esp + 0x18], 1
jne 0x51cb3d
mov dword [esp + 0x18], ebx
xor eax, eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
jle 0x51cd41
lea ecx, [ecx]
mov edi, dword [esp + eax*4 + 0x9c]
movzx ecx, word [edi + 0x14]
movzx edx, byte [edi + 2]
add ecx, edx
xor ebp, ebp
test ecx, ecx
mov dword [esp + 0x34], ecx
jle 0x51cc32
nop
movzx eax, byte [edi + 2]
sub eax, 1
mov ecx, ebp
js 0x51cb9b
lea edx, [edi + eax*8 + 0x18]
nop
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x51cb91
je 0x51cc12
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x51cb80
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
lea ecx, [edx + ecx*2]
xor edx, edx
mov dh, byte [ecx]
mov dl, byte [ecx + 1]
add eax, edx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xb4]
push edx
push eax
push edi
mov dword [ecx + ebx*4], eax
call fcn.00517980
mov ax, word [esp + 0xde]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov word [ecx + ebx*2], ax
cmp byte [edx + 0x16], 0
je 0x51cc1e
mov al, byte [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov byte [ecx + ebx], al
movzx ecx, byte [edi + 2]
xor eax, eax
test ecx, ecx
jle 0x51cc1e
mov edx, dword [esp + 0x2c]
mov esi, dword [edx + ebx*4]
lea edx, [edi + 0x18]
cmp dword [edx], esi
je 0x51cc16
add eax, 1
add edx, 8
cmp eax, ecx
jl 0x51cc02
jmp 0x51cc1e
mov eax, dword [edx]
jmp 0x51cbb0
mov eax, dword [esp + 0x44]
mov byte [eax + ebx], 0xff
add ebp, 1
add ebx, 1
cmp ebp, dword [esp + 0x34]
jl 0x51cb70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffff
cmp eax, ecx
jge 0x51cd2c
mov eax, dword [esp + eax*4 + 0x84]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xd4]
push ecx
push eax
push edx
mov dword [esp + 0x40], eax
call fcn.00517980
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x51cc87
mov eax, dword [esp + 0x20]
movzx ecx, word [esp + 0xf2]
mov esi, dword [esp + 0x1c]
push eax
call fcn.0051a750
add esp, 4
jmp 0x51cd28
mov ax, word [esp + 0xf2]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
movzx esi, ax
mov word [ecx + ebx*2], ax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
push esi
lea ebp, [edx + ecx]
push eax
add ecx, esi
push ebp
mov dword [esp + 0x4c], ecx
call fcn.004be710
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add ebp, ecx
add esp, 0xc
mov dword [edx + ebx*4], ebp
cmp byte [eax + 0x16], 0
je 0x51ccd9
mov ecx, dword [esp + 0x44]
mov byte [ecx + ebx], 0xff
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, dword [esp + 0x1c]
push edx
call fcn.0051a750
mov cx, word [esp + 0x3c]
mov eax, dword [esp + 0x28]
sub word [eax + ebx*2], cx
movzx ecx, word [eax + ebx*2]
add esp, 4
cmp byte [edi + 4], 0
jne 0x51cd19
movzx edx, byte [edi + 8]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [edx + eax + 8]
mov dword [ecx], edx
jmp 0x51cd25
cmp cx, 4
jae 0x51cd25
mov word [eax + ebx*2], 4
add ebx, 1
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x51cb50
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 0x1e]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
lea esi, [ecx + edx - 0xc]
xor ecx, ecx
xor ebx, ebx
xor eax, eax
test edi, edi
jle 0x51cd93
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
movzx edx, word [edx + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x51cd8c
sub eax, edx
test ebp, ebp
mov dword [esp + ebx*4 + 0x64], eax
mov dword [esp + ebx*4 + 0x84], ecx
je 0x51cd87
sub ecx, 1
xor eax, eax
add ebx, 1
add ecx, 1
cmp ecx, edi
jl 0x51cd63
mov dword [esp + ebx*4 + 0x84], edi
add ebx, 1
mov dword [esp + ebx*4 + 0x60], eax
lea edi, [ebx - 1]
test edi, edi
mov dword [esp + 0x34], ebx
jle 0x51ce2e
mov eax, dword [esp + edi*4 + 0x80]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + edi*4 + 0x64]
mov esi, dword [esp + edi*4 + 0x60]
sub eax, 1
mov ecx, eax
sub ecx, dword [esp + 0x18]
add ecx, 1
test edx, edx
je 0x51cdf2
movzx ebx, word [ebx + eax*2]
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x24]
movzx ebx, word [ebx + ecx*2]
sub ebp, 2
lea ebx, [ebx + edx + 2]
cmp ebx, ebp
jg 0x51ce1b
mov ebx, dword [esp + 0x24]
movzx ecx, word [ebx + ecx*2]
movzx eax, word [ebx + eax*2]
add dword [esp + edi*4 + 0x80], 0xffffffff
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
mov eax, dword [esp + edi*4 + 0x80]
add esi, ecx
add eax, 0xffffffff
jmp 0x51cdc6
mov dword [esp + edi*4 + 0x64], edx
mov dword [esp + edi*4 + 0x60], esi
sub edi, 1
test edi, edi
jg 0x51cdb0
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x118]
mov eax, dword [edx + 0x44]
movzx ecx, byte [eax]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x34], ecx
jle 0x51cedf
lea esp, [esp]
cmp edi, dword [esp + 0x14]
jge 0x51ce92
mov esi, dword [esp + edi*4 + 0x78]
mov eax, dword [esi + 0x48]
mov edx, dword [esp + edi*4 + 0xa8]
push eax
mov dword [esp + edi*4 + 0x54], esi
mov dword [esp + 0x14], esi
mov dword [esp + edi*4 + 0x68], edx
mov dword [esp + edi*4 + 0x7c], 0
call fcn.0052aca0
add dword [esp + 0x2c], 1
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x51d349
jmp 0x51cec7
mov ecx, dword [esp + edi*4 + 0x60]
lea eax, [esp + edi*4 + 0x64]
push 0
push ecx
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00519b90
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x51d349
mov esi, dword [esp + 0x10]
add dword [esp + 0x28], 1
mov dword [esp + edi*4 + 0x50], esi
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005180f0
add edi, 1
add esp, 4
cmp edi, ebx
jl 0x51ce50
cmp edi, dword [esp + 0x14]
jge 0x51cf19
mov esi, dword [esp + edi*4 + 0x78]
call fcn.0051a0b0
mov ebp, eax
test ebp, ebp
jne 0x51d349
test esi, esi
je 0x51cf08
mov edx, dword [esi + 0x48]
push edx
call fcn.0052aa10
add esp, 4
mov dword [esp + edi*4 + 0x78], 0
add edi, 1
cmp edi, dword [esp + 0x14]
jl 0x51cee5
lea eax, [ebx - 1]
xor ecx, ecx
test eax, eax
jle 0x51cf98
lea eax, [esp + ecx*4 + 0x64]
mov dword [esp + 0x3c], eax
mov eax, dword [eax]
lea ebp, [ecx + 1]
cmp ebp, ebx
mov dword [esp + 0x10], eax
mov edi, eax
mov edx, ecx
mov dword [esp + 0x98], ebp
mov eax, ebp
jge 0x51cf8f
mov esi, dword [esp + eax*4 + 0x64]
cmp esi, edi
jae 0x51cf54
mov edx, eax
mov edi, esi
add eax, 1
cmp eax, ebx
jl 0x51cf48
cmp edx, ecx
jle 0x51cf8f
mov edi, dword [esp + edx*4 + 0x64]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + ecx*4 + 0x50]
lea eax, [esp + edx*4 + 0x64]
lea ecx, [esp + ecx*4 + 0x50]
mov dword [ebp], edi
mov edi, dword [esp + edx*4 + 0x50]
mov ebp, dword [esp + 0x98]
lea edx, [esp + edx*4 + 0x50]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [edx], esi
mov ecx, ebp
lea eax, [ebx - 1]
cmp ecx, eax
jl 0x51cf26
mov ebp, dword [esp + 0x28]
xor esi, esi
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x10], esi
jle 0x51d268
lea esp, [esp]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + esi*4 + 0x84]
mov edi, dword [esp + esi*4 + 0x50]
lea eax, [edx + ebx*2]
push eax
lea edx, [ecx + ebx*4]
push edx
mov eax, ebp
sub eax, ebx
push eax
push edi
call fcn.0051a9a0
mov ecx, dword [esp + 0x40]
add esp, 0x10
cmp byte [ecx + 0x16], 0
je 0x51d07f
cmp ebx, ebp
jge 0x51d07f
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov al, byte [ebx + edx]
cmp al, 0xff
je 0x51d012
movzx eax, al
mov edx, dword [esp + eax*4 + 0x9c]
mov eax, dword [edx + 0x4c]
cmp eax, dword [edi + 0x4c]
je 0x51d064
movzx eax, byte [edi + 2]
sub eax, 1
js 0x51d03b
lea edx, [edi + eax*8 + 0x18]
nop
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x51d031
je 0x51d0ce
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x51d020
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
lea ecx, [edx + ecx*2]
movzx edx, byte [ecx + 1]
mov dh, byte [ecx]
add edx, eax
mov eax, edx
call fcn.00517ad0
mov ebp, eax
test ebp, ebp
jne 0x51d349
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
add ebx, 1
add ecx, 1
cmp ebx, dword [esp + esi*4 + 0x84]
mov dword [esp + 0x3c], ecx
jl 0x51cff5
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + esi*4 + 0x84]
add eax, 0xffffffff
cmp esi, eax
jge 0x51d253
cmp ebx, dword [esp + 0x48]
jge 0x51d253
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov esi, dword [ecx + ebx*4]
movzx ecx, word [edx + ebx*2]
movzx eax, cx
add eax, dword [esp + 0x38]
cmp byte [edi + 4], 0
mov dword [esp + 0x3c], eax
jne 0x51d0d5
mov ecx, dword [edi + 0x44]
mov edx, dword [esi]
mov dword [ecx + 8], edx
xor ebp, ebp
jmp 0x51d174
mov edx, dword [edx]
jmp 0x51d04f
cmp dword [esp + 0x18], 0
je 0x51d13d
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + ebx*4 - 4]
lea eax, [esp + 0xb4]
sub ebx, 1
push eax
push edx
push edi
call fcn.00517980
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0x48]
push ecx
push 0
push 0
push 0
lea esi, [eax + ebp]
mov eax, dword [esp + 0xd8]
push edx
push eax
mov eax, dword [esp + 0x40]
push 0
push esi
call fcn.0051a370
mov eax, dword [esp + 0x68]
add ebp, eax
add esp, 0x2c
mov dword [esp + 0x40], ebp
xor ebp, ebp
jmp 0x51d174
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x4c]
add ebp, edx
add edx, eax
sub esi, 4
cmp cx, 4
mov dword [esp + 0x40], edx
jne 0x51d174
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xf4]
push ecx
push esi
push edx
call fcn.00517980
movzx eax, word [esp + 0x11e]
add esp, 0xc
mov ecx, dword [esp + 0x20]
push 4
push eax
push esi
mov esi, dword [esp + 0x28]
mov eax, ebp
call fcn.0051a7d0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x51d349
mov ecx, dword [esp + 0x20]
mov ebp, esi
movzx eax, byte [ebp + 2]
sub eax, 1
js 0x51d1c2
lea edx, [ebp + eax*8 + 0x18]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x51d1b8
je 0x51d2b3
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x51d1a7
movzx edx, word [ebp + 0xe]
mov eax, dword [ebp + 0x44]
add edx, eax
lea esi, [edx + ecx*2]
movzx edx, byte [esi + 1]
mov dh, byte [esi]
add edx, eax
mov eax, dword [edi + 0x4c]
push eax
push edx
call fcn.00512800
mov ecx, dword [esp + 0x38]
add esp, 8
cmp byte [ecx + 0x16], 0
je 0x51d247
cmp dword [esp + 0x18], 0
jne 0x51d247
movzx eax, byte [ebp + 2]
sub eax, 1
mov ecx, dword [esp + 0x20]
js 0x51d220
lea edx, [ebp + eax*8 + 0x18]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x51d216
je 0x51d2ba
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x51d205
movzx edx, word [ebp + 0xe]
mov eax, dword [ebp + 0x44]
add edx, eax
lea esi, [edx + ecx*2]
movzx edx, byte [esi + 1]
mov dh, byte [esi]
add edx, eax
mov eax, edx
mov edi, ebp
call fcn.00517ad0
mov ebp, eax
test ebp, ebp
jne 0x51d349
mov esi, dword [esp + 0x10]
add ebx, 1
add dword [esp + 0x20], 1
add esi, 1
cmp esi, dword [esp + 0x28]
mov dword [esp + 0x10], esi
jl 0x51cfb0
mov ebp, dword [esp + 0x28]
test byte [esp + 0x34], 8
jne 0x51d28a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x98]
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + ebp*4 + 0x4c]
mov ecx, dword [eax + 0x44]
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0x1c]
movzx eax, byte [edi + 2]
movzx edx, word [edi + 0x14]
mov ecx, dword [esp + 0x20]
add edx, eax
cmp ecx, edx
jne 0x51d2c1
mov eax, dword [esp + ebp*4 + 0x60]
movzx ecx, byte [edi + 8]
mov edx, dword [edi + 0x44]
push eax
lea eax, [ecx + edx + 8]
push eax
jmp 0x51d306
mov edx, dword [edx]
jmp 0x51d1d6
mov edx, dword [edx]
jmp 0x51d234
add eax, 0xffffffff
js 0x51d2eb
lea edx, [edi + eax*8 + 0x18]
lea ebx, [ebx]
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x51d2e1
je 0x51d3bd
sub ecx, 1
sub eax, 1
sub edx, 8
test eax, eax
jge 0x51d2d0
movzx edx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
add edx, eax
lea ecx, [edx + ecx*2]
xor edx, edx
mov dh, byte [ecx]
mov dl, byte [ecx + 1]
add edx, eax
mov eax, dword [esp + ebp*4 + 0x60]
push eax
push edx
call fcn.00512800
add esp, 8
xor edi, edi
test ebp, ebp
jle 0x51d32c
mov esi, dword [esp + edi*4 + 0x50]
call fcn.0051a6d0
mov ebp, eax
test ebp, ebp
jne 0x51d349
add edi, 1
cmp edi, dword [esp + 0x28]
jl 0x51d314
mov esi, dword [esp + 0x1c]
call fcn.0051a6d0
mov ebp, eax
test ebp, ebp
jne 0x51d349
push eax
mov ecx, esi
push ecx
call fcn.0051d530
add esp, 8
mov ebp, eax
mov edx, dword [esp + 0x2c]
push edx
call fcn.0050dc90
mov edi, dword [esp + 0x18]
add esp, 4
xor esi, esi
test edi, edi
jle 0x51d37b
mov eax, dword [esp + esi*4 + 0x78]
test eax, eax
je 0x51d374
mov eax, dword [eax + 0x48]
push eax
call fcn.0052aa10
add esp, 4
add esi, 1
cmp esi, edi
jl 0x51d360
mov edi, dword [esp + 0x28]
xor esi, esi
test edi, edi
jle 0x51d3a0
mov eax, dword [esp + esi*4 + 0x50]
test eax, eax
je 0x51d399
mov ecx, dword [eax + 0x48]
push ecx
call fcn.0052aa10
add esp, 4
add esi, 1
cmp esi, edi
jl 0x51d385
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x48]
push eax
call fcn.0052aa10
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret
mov edx, dword [edx]
jmp 0x51d300