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

Disassembly:
push 0xffffffffffffffff
push 0x59f9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov eax, dword [0x60386c]
push ebp
mov ebp, ecx
test eax, eax
mov dword [esp + 0xc], ebp
je 0x51ad65
mov dword [ebp + 0x3280], 0
test ebp, ebp
je 0x51bf04
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x51bf04
mov eax, dword [ebp + 0x287c]
test eax, eax
je 0x51bf04
mov eax, dword [ebp + 0x2908]
test eax, eax
jl 0x51bf04
cmp dword [ebp + 0x2910], eax
jle 0x51bf04
mov eax, dword [ebp + 0x2904]
test eax, eax
jl 0x51bf04
cmp dword [ebp + 0x290c], eax
jle 0x51bf04
mov ecx, dword [ebp + 0x2908]
mov edx, dword [ebp + 0x290c]
push ebx
push esi
mov esi, dword [ebp + 0x3290]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x2910]
or ebx, 0xffffffff
push edi
mov dword [esp + 0x34], ecx
mov ecx, dword [0x604240]
cmp esi, ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov edi, 1
jne 0x51ae69
test ecx, ecx
jne 0x51ae63
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51ae42
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0xe4], 0
je 0x51ae37
push 0
mov ecx, eax
call fcn.004d0720
mov dword [esp + 0xe4], ebx
jmp 0x51ae47
xor eax, eax
mov dword [esp + 0xe4], ebx
jmp 0x51ae47
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], edi
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov esi, dword [ecx + 0x88]
mov eax, dword [ebp + 0x3294]
cmp eax, ebx
jne 0x51aee1
test ecx, ecx
jne 0x51aedb
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51aeba
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0xe4], edi
je 0x51aeaf
push 0
mov ecx, eax
call fcn.004d0720
mov dword [esp + 0xe4], ebx
jmp 0x51aebf
xor eax, eax
mov dword [esp + 0xe4], ebx
jmp 0x51aebf
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], edi
mov ecx, dword [0x604240]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx + 0x8c]
neg esi
neg eax
push esi
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [0x5e921c]
push ebp
lea ecx, [esp + 0x5c]
call fcn.0055b7ea
lea eax, [ebp + 0x28e4]
lea ecx, [esp + 0x58]
push eax
mov dword [esp + 0xe8], 2
call fcn.0055b017
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0xa4]
push edx
push eax
call dword [0x5e95e4]
mov eax, dword [ebp + 0x2900]
mov ecx, dword [esp + 0xa4]
cmp ecx, eax
jle 0x51af41
mov eax, ecx
mov ecx, dword [ebp + 0x3270]
mov edi, dword [esp + 0x34]
imul ecx, eax
mov edx, dword [ebp + 0x2868]
mov dword [ebp + 0x327c], eax
mov eax, dword [ebp + 0x2858]
sub edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [eax + edx*4]
push ecx
lea ecx, [ebp + 0x2838]
call fcn.0055135e
mov edx, dword [eax + 8]
mov eax, dword [ebp + 0x2874]
test eax, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], eax
je 0x51bb72
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
cmp dword [ebx + 4], edx
jne 0x51bb66
lea eax, [ebp + 0x28e4]
lea ecx, [esp + 0x58]
push eax
call fcn.0055b017
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x51b11d
push 0x603820
lea ecx, [esp + 0x5c]
call fcn.0055b017
mov esi, eax
mov eax, dword [ebx + 8]
lea edx, [esp + 0x9c]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
call dword [0x5e963c]
push esi
lea ecx, [esp + 0x5c]
call fcn.0055b017
mov eax, dword [ebp + 0x32a4]
cmp eax, 0xffffffff
je 0x51b013
mov esi, eax
mov eax, dword [0x604240]
jmp 0x51b08c
mov eax, dword [0x604240]
test eax, eax
jne 0x51b086
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b062
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 3
je 0x51b056
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b067
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b067
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [0x604240]
mov esi, dword [eax + 0x9c]
mov ecx, dword [ebp + 0x329c]
cmp ecx, 0xffffffff
jne 0x51b10b
test eax, eax
jne 0x51b105
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b0e1
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 4
je 0x51b0d5
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b0e6
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b0e6
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [0x604240]
mov ecx, dword [eax + 0x94]
mov edx, dword [esp + 0xa0]
lea eax, [edx + esi]
cmp eax, ecx
jg 0x51b11f
mov eax, ecx
jmp 0x51b11f
xor eax, eax
mov ecx, dword [ebx + 0x54]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
test ecx, ecx
je 0x51b148
mov ecx, edx
sub ecx, eax
sub ecx, esi
cmp dword [ebx + 0x58], ecx
jge 0x51b148
mov ecx, dword [ebx + 0x5c]
cmp eax, ecx
jge 0x51b148
sub ecx, eax
add edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0xec]
test ecx, ecx
jne 0x51b16d
mov ecx, edx
lea edx, [eax + edi]
lea edi, [ebx + 0x30]
mov dword [ebx + 0x30], esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
lea edx, [esp + 0x58]
add edi, eax
push edx
mov ecx, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
call fcn.0051c150
mov eax, dword [ebp + 0x289c]
test eax, eax
je 0x51b236
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x51b236
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x51b236
mov eax, dword [ebp + 0x3280]
test eax, eax
je 0x51b1dc
cmp ebx, dword [ebp + 0x3284]
jne 0x51b1dc
mov eax, dword [ebp + 0x328c]
test eax, eax
jle 0x51b1dc
mov eax, dword [esp + 0xec]
test eax, eax
je 0x51b236
mov ecx, dword [0x604240]
jmp 0x51bae0
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x51bad4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
lea esi, [ebx + 0x40]
lea eax, [edi - 1]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x51bad4
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x51b227
add eax, 0x20
push eax
call dword [0x5e9274]
test esi, esi
jne 0x51b20f
mov ecx, dword [0x604240]
jmp 0x51bae0
mov edx, dword [ebp]
lea eax, [esp + 0x7c]
mov edi, 1
push eax
mov ecx, ebp
mov dword [esp + 0x24], edi
call dword [edx + 0x218]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [0x604240]
test ebx, ebx
mov dword [esp + 0x40], ebx
je 0x51baa7
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + 8]
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x51b7c4
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x51b724
test edi, edi
je 0x51b317
mov eax, dword [ebp + 0x32b0]
cmp eax, 0xffffffff
jne 0x51b313
test ecx, ecx
jne 0x51b30d
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b2e8
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0xe4], 5
je 0x51b2dc
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b2ed
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b2ed
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx + 0xa8]
add dword [esp + 0x10], eax
mov esi, dword [ebp + 0x32a8]
cmp esi, 0xffffffff
jne 0x51b397
test ecx, ecx
jne 0x51b391
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b36c
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0xe4], 6
je 0x51b360
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b371
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b371
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov esi, dword [ecx + 0xa0]
mov edi, dword [ebp + 0x32ac]
cmp edi, 0xffffffff
jne 0x51b417
test ecx, ecx
jne 0x51b411
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b3ec
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0xe4], 7
je 0x51b3e0
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b3f1
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b3f1
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x604240]
mov edi, dword [ecx + 0xa4]
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x51b426
mov eax, dword [ebp + 0x4608]
jmp 0x51b42c
mov eax, dword [ebp + 0x4604]
test eax, eax
je 0x51b5d6
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], edx
neg esi
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x3c]
push 0
lea edx, [esp + 0x70]
push esi
push edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
call dword [0x5e921c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x2900]
mov edx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x28fc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x74]
add eax, edx
mov dword [esp + 0x94], ecx
add eax, edi
mov dword [esp + 0x8c], edx
push 0x603830
lea ecx, [esp + 0x5c]
mov dword [esp + 0x90], eax
call fcn.0055b017
mov esi, eax
mov eax, dword [ebx + 8]
lea edx, [esp + 0x8c]
push 0x410
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 0x68]
push esi
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.0055b017
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x51b500
cmp edi, 0xa
jg 0x51b500
mov edi, 0xa
mov eax, dword [ebp + 0x2900]
cmp edi, eax
jg 0x51b50c
mov edi, eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0xec]
test edx, edx
lea ecx, [edi + eax]
mov dword [esp + 0x78], ecx
jne 0x51b539
mov esi, dword [esp + 0x6c]
lea edx, [ebx + 0x20]
mov dword [ebx + 0x20], esi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x32b0]
mov ecx, dword [0x604240]
cmp eax, 0xffffffff
jne 0x51b5bf
test ecx, ecx
jne 0x51b5b9
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b594
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 8
je 0x51b588
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b599
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b599
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx + 0xa8]
mov edx, dword [esp + 0x10]
add eax, edi
add edx, eax
xor edi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edi
jmp 0x51ba2a
push 0x603830
lea ecx, [esp + 0x5c]
call fcn.0055b017
mov ebp, eax
mov eax, dword [ebx + 8]
lea edx, [esp + 0x84]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
call dword [0x5e963c]
push ebp
lea ecx, [esp + 0x5c]
call fcn.0055b017
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x2900]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
mov ebp, ecx
jg 0x51b624
mov ebp, eax
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x51b67f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + 0x28fc]
mov edx, dword [esp + 0x84]
add eax, edx
lea edx, [esi + ecx]
add eax, edi
add eax, esi
add eax, ecx
mov ecx, dword [esp + 0x10]
lea edi, [ecx + ebp]
lea ecx, [ebx + 0x20]
mov ebx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x10]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx]
sub eax, esi
cmp ecx, eax
jle 0x51b678
mov eax, ecx
mov ebx, dword [esp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [0x604240]
mov eax, dword [eax + 0x32b0]
cmp eax, 0xffffffff
jne 0x51b709
test ecx, ecx
jne 0x51b703
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b6de
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 9
je 0x51b6d2
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b6e3
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b6e3
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx + 0xa8]
mov edx, dword [esp + 0x10]
add eax, ebp
mov ebp, dword [esp + 0x18]
add edx, eax
xor edi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edi
jmp 0x51ba2a
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x51b73f
lea eax, [ebx + 0x20]
push eax
call dword [0x5e9274]
mov ecx, dword [0x604240]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51ba2a
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x51ba2a
mov eax, dword [ebp + 0x32b4]
test eax, eax
je 0x51ba1d
mov eax, dword [ebp + 0x32b0]
cmp eax, 0xffffffff
jne 0x51ba24
test ecx, ecx
jne 0x51ba15
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b9f0
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 0xc
je 0x51b9e4
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b9f5
test edi, edi
je 0x51b872
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x51b872
mov eax, dword [ebp + 0x32b4]
test eax, eax
je 0x51b867
mov eax, dword [ebp + 0x32b0]
cmp eax, 0xffffffff
jne 0x51b86e
test ecx, ecx
jne 0x51b85f
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b83a
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 0xa
je 0x51b82e
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b83f
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b83f
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx + 0xa8]
jmp 0x51b86e
mov eax, dword [esp + 0x80]
add dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x18]
push ecx
call fcn.00553610
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x51b9b8
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
test eax, eax
mov dword [esp + 0x54], edx
je 0x51b8b6
mov eax, dword [ebx + 0x38]
jmp 0x51b8b8
xor eax, eax
mov esi, dword [esp + 0x10]
lea ecx, [eax + esi]
mov eax, dword [ebp + 0x2908]
inc eax
mov dword [esp + 0x54], ecx
cmp eax, esi
mov dword [esp + 0x4c], eax
jg 0x51b8d6
mov dword [esp + 0x4c], esi
mov eax, dword [ebp + 0x2910]
dec eax
cmp eax, ecx
jge 0x51b8e5
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x32b4]
test eax, eax
je 0x51b983
mov eax, dword [ebp + 0x32a8]
cmp eax, 0xffffffff
jne 0x51b977
mov eax, dword [0x604240]
test eax, eax
jne 0x51b971
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51b94d
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 0xb
je 0x51b941
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51b952
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b952
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [0x604240]
mov eax, dword [eax + 0xa0]
neg eax
push 0
lea ecx, [esp + 0x4c]
push eax
push ecx
jmp 0x51b991
mov edx, dword [esp + 0x7c]
push 0
neg edx
lea eax, [esp + 0x4c]
push edx
push eax
call dword [0x5e921c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea ecx, [ebx + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
jmp 0x51b9bc
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x51b739
mov eax, dword [ebx + 0x38]
mov ecx, dword [0x604240]
add esi, eax
mov edi, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], edi
jmp 0x51b74f
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51b9f5
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx + 0xa8]
jmp 0x51ba24
mov eax, dword [esp + 0x80]
add esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x51ba9b
mov eax, dword [ebp + 0x3280]
test eax, eax
je 0x51ba9b
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x3284]
cmp eax, edx
jne 0x51ba9b
mov eax, dword [ebp + 0x328c]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
add edx, eax
cmp esi, edx
jle 0x51ba9b
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, dword [ebx + 0x2c]
add eax, edx
mov esi, ecx
mov dword [esp + 0x10], eax
dec eax
cmp ecx, eax
jl 0x51ba81
mov esi, eax
mov edx, dword [ebx + 0x24]
cmp edx, esi
jle 0x51ba8c
mov eax, edx
jmp 0x51ba92
cmp ecx, eax
jge 0x51ba92
mov eax, ecx
mov dword [ebx + 0x2c], eax
mov ecx, dword [0x604240]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x51b264
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x51badc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
add edx, 0x40
mov edi, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], edi
mov ecx, dword [0x604240]
jmp 0x51bae0
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x3298]
cmp eax, 0xffffffff
jne 0x51bb60
test ecx, ecx
jne 0x51bb5a
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51bb35
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xe4], 0xd
je 0x51bb29
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51bb3a
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51bb3a
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx + 0x90]
add edi, eax
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x51af8e
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x51bd2b
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x2878]
test eax, eax
je 0x51bc30
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp dword [edi + 4], edx
je 0x51bbad
test eax, eax
jne 0x51bb97
jmp 0x51bc30
test edi, edi
je 0x51bc30
mov eax, dword [edi + 0x28]
test eax, eax
je 0x51bc30
mov eax, dword [edi + 0x18]
test eax, eax
je 0x51bc30
mov eax, dword [esi + 0x3274]
test eax, eax
jne 0x51bc30
mov eax, dword [edi + 0x14]
test eax, eax
je 0x51bc30
mov ecx, eax
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x30]
test edx, edx
jne 0x51bbe5
test eax, eax
jne 0x51bbd0
jmp 0x51bc30
mov ebp, dword [esp + 0x3c]
mov ecx, dword [edi + 0x4c]
sub ebp, ecx
test ebp, ebp
jle 0x51bc30
mov esi, dword [edi + 0x10]
mov ebx, dword [0x5e91a8]
test esi, esi
je 0x51bc1a
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x51bc16
push ebp
add eax, 0x20
push 0
push eax
call ebx
test esi, esi
jne 0x51bbff
push ebp
lea eax, [edi + 0x30]
push 0
push eax
call ebx
push ebp
add edi, 0x40
push 0
push edi
call ebx
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x2874]
test eax, eax
je 0x51bd2b
jmp 0x51bc44
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 4]
cmp edx, ecx
jne 0x51bd1f
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp dword [ecx + 0x289c], edx
je 0x51bc7f
cmp dword [eax + 0x50], edx
je 0x51bc7f
mov esi, dword [eax + 8]
mov dword [esp + 0x2c], 1
cmp dword [esi - 8], edx
jne 0x51bc83
mov dword [esp + 0x2c], edx
cmp dword [ecx + 0x3280], edx
je 0x51bca5
cmp eax, dword [ecx + 0x3284]
jne 0x51bca5
mov esi, dword [ecx + 0x328c]
mov dword [esp + 0x1c], 1
cmp esi, edx
jg 0x51bca9
mov dword [esp + 0x1c], edx
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x51bd1f
mov eax, ebx
mov ebx, dword [ebx]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x51bd1b
push eax
call fcn.00553610
mov ebp, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x51bcd6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x51bd12
mov eax, dword [edi + 0x30]
test eax, eax
je 0x51bd12
lea esi, [edi + 0x20]
push esi
call dword [0x5e9220]
test eax, eax
jne 0x51bd12
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
sub eax, edx
mov edx, dword [esi]
push 0x14
sub ecx, edx
mov edx, dword [edi + 0x24]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
push 0
mov ecx, ebp
call fcn.005567be
push 4
jmp 0x51bd14
push 0
mov ecx, ebp
call fcn.0055680d
test ebx, ebx
jne 0x51bcb0
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x51bc40
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0055b017
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x3298]
cmp eax, 0xffffffff
je 0x51bd51
mov ebx, eax
mov eax, dword [0x604240]
jmp 0x51bdca
mov eax, dword [0x604240]
test eax, eax
jne 0x51bdc4
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51bda0
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0xe4], 0xe
je 0x51bd94
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51bda5
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51bda5
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [0x604240]
mov ebx, dword [eax + 0x90]
mov ecx, dword [ebp + 0x32b0]
cmp ecx, 0xffffffff
je 0x51bdd9
mov edi, ecx
jmp 0x51be4d
test eax, eax
jne 0x51be47
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51be23
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0xe4], 0xf
je 0x51be17
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51be28
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51be28
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [0x604240]
mov edi, dword [eax + 0xa8]
mov ecx, dword [ebp + 0x3290]
cmp ecx, 0xffffffff
je 0x51be5c
mov eax, ecx
jmp 0x51bed0
test eax, eax
jne 0x51beca
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x51bea6
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0xe4], 0x10
je 0x51be9a
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0xe4], 2
jmp 0x51beab
xor eax, eax
mov byte [esp + 0xe4], 2
jmp 0x51beab
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [0x604240]
mov eax, dword [eax + 0x88]
mov esi, dword [ebp + 0x3270]
lea ecx, [esp + 0x58]
imul esi, dword [ebp + 0x327c]
sub esi, edi
mov dword [esp + 0xe4], 0xffffffff
sub esi, ebx
add esi, eax
mov eax, dword [esp + 0x10]
add esi, eax
call fcn.0055b85c
mov eax, esi
pop edi
pop esi
pop ebx
jmp 0x51bf06
xor eax, eax
mov ecx, dword [esp + 0xd0]
pop ebp
mov dword fs:[0], ecx
add esp, 0xd8
ret 4