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

Disassembly:
push 0xffffffffffffffff
push 0x60c716
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e163c]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov dword [esp + 0x40], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
xor eax, eax
mov dword [esp + 0x4c], edx
mov edx, dword [0x6d983c]
mov byte [esp + 0x2d], 1
mov byte [esp + 0x17], 1
mov byte [esp + 0x27], al
mov byte [esp + 0x2f], al
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x9c], eax
call fcn.00510250
mov eax, dword [0x6d983c]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x10]
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x9c], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
jae 0x511cbf
lea ebx, [eax*4]
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
add eax, ebx
push eax
lea ecx, [esp + 0x24]
call fcn.0050d6d0
push 0x63bc24
lea ecx, [esp + 0x24]
call fcn.0050d900
test eax, eax
jne 0x511460
mov byte [esp + 0x2d], al
jmp 0x511cab
cmp byte [esp + 0x2d], 0
je 0x511be9
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 8], 1
jbe 0x511be9
lea ecx, [esp + 0x20]
call fcn.0050d150
mov edx, dword [esp + 0x20]
movzx ecx, word [edx]
mov eax, dword [ebp]
mov eax, dword [eax]
push ecx
push eax
call fcn.005bad2e
add esp, 8
test eax, eax
je 0x511be9
mov edx, dword [0x6d983c]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 2
or edi, 0xffffffff
call fcn.0050d150
mov eax, dword [esp + 0x20]
cmp word [eax], 0x2d
jne 0x51161b
lea ecx, [esp + 0x20]
call fcn.0050d150
mov eax, dword [esp + 0x20]
cmp word [eax + 2], 0x2d
jne 0x51161b
mov ecx, ebp
mov byte [esp + 0x2e], 1
lea edx, [eax + 4]
call fcn.0050fc10
mov ecx, edx
lea esi, [esp + 0x5c]
mov bl, al
call fcn.005107b0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 3
call fcn.0050d6d0
mov ecx, esi
mov byte [esp + 0x9c], 2
call fcn.00401017
test bl, bl
je 0x51158b
mov ecx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
call fcn.00510030
mov edi, eax
cmp edi, 0xffffffff
jne 0x511853
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push str.Unknown_long_option__s
call fcn.0050fc20
add esp, 8
push eax
lea edx, [esp + 0x88]
push edx
call fcn.0050eee0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 4
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x80]
jmp 0x51180c
push 0x63bc24
lea ecx, [esp + 0x54]
call fcn.004034c3
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 5
call fcn.00510460
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 2
call fcn.00401017
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push str.Unknown_option__s
call fcn.0050fc20
add esp, 8
push eax
lea edx, [esp + 0x90]
push edx
call fcn.0050eee0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 6
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x88]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51181e
lea ecx, [eax + 2]
lea esi, [esp + 0x90]
mov byte [esp + 0x2e], 0
call fcn.00510790
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 7
call fcn.0050d6d0
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 2
cmp eax, 0xffffffff
je 0x511667
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511667
call fcn.0050ccc0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax - 8]
mov edi, edi
test esi, esi
je 0x5116c0
push esi
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x24]
call fcn.0050e6c0
mov ecx, dword [ebp]
push eax
mov byte [esp + 0xa0], 9
call fcn.0050ffd0
mov ecx, dword [esp + 0x64]
add ecx, 0xfffffff4
mov edi, eax
mov eax, dword [ecx]
mov byte [esp + 0x9c], 2
cmp eax, 0xffffffff
je 0x5116b8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5116b8
call fcn.0050ccc0
dec esi
cmp edi, 0xffffffff
je 0x511670
jmp 0x51172e
mov edx, dword [esp + 0x1c]
push edx
push 0
push str.Unknown_option__s
call fcn.0050fc20
add esp, 8
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0050eee0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 8
call fcn.0050e2b0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050de40
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 2
cmp eax, 0xffffffff
je 0x51172e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x51172e
call fcn.0050ccc0
inc esi
cmp edi, 0xffffffff
je 0x51181e
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx - 8]
je 0x511819
push esi
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x24]
call fcn.0050e6c0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0xa
call fcn.0050d6d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x9c], 2
call fcn.00401017
mov eax, dword [ebp]
mov ecx, dword [eax + 0x24]
mov eax, dword [ecx + edi*4]
cmp dword [eax], 0
jne 0x511819
lea ecx, [esp + 0x20]
call fcn.0050d150
mov edx, dword [esp + 0x20]
movzx eax, word [edx]
push eax
push 1
lea ecx, [esp + 0x38]
call fcn.0050e230
mov eax, dword [0x63bb88]
push eax
inc esi
push esi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0xb
call fcn.0050e570
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 0xc
call fcn.0050e930
lea ecx, [esp + 0x8c]
mov byte [esp + 0x9c], 0xb
call fcn.00401017
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x30]
lea ecx, [ebx + ecx + 4]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0050dd60
inc dword [esp + 0x44]
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 2
call fcn.00401017
cmp edi, 0xffffffff
jne 0x511853
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 1
cmp eax, 0xffffffff
je 0x511cab
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511cab
call fcn.0050ccc0
jmp 0x511cab
mov ebx, dword [esp + 0x1c]
mov cl, byte [esp + 0x2e]
mov eax, dword [ebx - 8]
mov edx, dword [esp + 0x20]
lea eax, [edx + eax*2 + 2]
test cl, cl
je 0x51186d
add eax, 2
mov edx, dword [ebp]
mov esi, dword [edx + 0x24]
mov esi, dword [esi + edi*4]
cmp dword [esi], 0
jne 0x5118ea
cmp word [eax], 0
je 0x5118d2
push ebx
push 0
push str.Unexpected_characters_following_option__s.
call fcn.0050fc20
add esp, 8
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0050eee0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xd
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51181e
test byte [esi + 0x14], 8
mov byte [esi + 0x18], 1
je 0x511823
mov byte [esp + 0x27], 1
jmp 0x51181e
test cl, cl
je 0x511955
mov cx, word [eax]
add eax, 2
cmp cx, 0x3d
je 0x511a2c
push ebx
push 0
push str.Option__s_requires_a_value___expected.
call fcn.0050fc20
add esp, 8
push eax
lea edx, [esp + 0x8c]
push edx
call fcn.0050eee0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xe
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x84]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51181e
movzx ecx, word [eax]
test ecx, ecx
je 0x5119c6
cmp ecx, 0x3a
je 0x5119c1
cmp ecx, 0x3d
je 0x5119c1
test byte [esi + 0x14], 0x10
je 0x511a2c
push ebx
push 0
push str.Separator_expected_after_the_option__s.
call fcn.0050fc20
add esp, 8
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0050eee0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x10
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x60]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51181e
add eax, 2
jmp 0x511a2c
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x44]
jne 0x511a26
push ebx
push 0
push str.Option__s_requires_a_value.
call fcn.0050fc20
add esp, 8
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0050eee0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xf
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51181e
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
cmp byte [esp + 0x17], 0
je 0x511823
push eax
lea ecx, [esp + 0x3c]
call fcn.004034c3
mov eax, dword [esi + 0x10]
sub eax, 0
mov byte [esp + 0x9c], 0x11
je 0x511bc7
sub eax, 1
je 0x511b22
sub eax, 1
jne 0x511bc7
or eax, 0xffffffff
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call fcn.00522be0
test eax, eax
je 0x511ab2
cmp word [eax], 0
jne 0x511ab2
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esi + 0x28], ecx
lea ecx, [esp + 0x38]
mov dword [esi + 0x2c], edx
mov byte [esi + 0x18], 1
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x511823
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 0
push str.Option__s:__s_cannot_be_converted_to_a_date.
call fcn.0050fc20
add esp, 8
push eax
lea edx, [esp + 0x7c]
push edx
call fcn.0050eee0
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x13
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c], 0x11
call fcn.00401017
lea ecx, [esp + 0x38]
mov byte [esp + 0x17], 0
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x511823
push 0xa
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
call fcn.0050da90
test al, al
je 0x511b57
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x1c], ecx
lea ecx, [esp + 0x38]
mov byte [esi + 0x18], 1
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x511823
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
push edx
push eax
push 0
push str._s_is_not_a_correct_numeric_value_for_option__s.
call fcn.0050fc20
add esp, 8
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0050eee0
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x12
call fcn.0050e930
push 0xa
push 1
mov ecx, eax
call fcn.0050de40
lea ecx, [esp + 0x48]
mov byte [esp + 0x9c], 0x11
call fcn.00401017
lea ecx, [esp + 0x38]
mov byte [esp + 0x17], 0
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x511823
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.0050fe40
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x511823
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x3c], eax
jae 0x511c2a
mov eax, dword [ebp]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x3c]
mov esi, dword [ecx + edx*4]
push 1
lea ecx, [esp + 0x24]
add eax, 0x34
push ecx
mov ecx, eax
call fcn.0050e0f0
test byte [esi + 8], 4
jne 0x511c20
inc dword [esp + 0x3c]
jmp 0x511cab
mov byte [esp + 0x2f], 1
jmp 0x511cab
mov esi, dword [esp + 0x20]
call fcn.00517840
test eax, eax
je 0x511c49
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Unexpected_parameter__s
call eax
jmp 0x511c4e
mov eax, str.Unexpected_parameter__s
push esi
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0050eee0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 0x14
call fcn.0050e2b0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050de40
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 1
cmp eax, 0xffffffff
je 0x511ca6
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511ca6
call fcn.0050ccc0
mov byte [esp + 0x17], 0
inc dword [esp + 0x28]
cmp byte [esp + 0x17], 0
jne 0x51141e
jmp 0x511f1b
cmp byte [esp + 0x17], 0
je 0x511f1b
mov edi, dword [esp + 0x40]
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x34], eax
xor ebp, ebp
mov bl, 0x15
cmp ebp, dword [esp + 0x34]
jae 0x511e37
mov ecx, dword [edi]
mov edx, dword [ecx + 0x24]
mov edx, dword [edx + ebp*4]
test byte [edx + 0x14], 1
je 0x511e26
cmp byte [edx + 0x18], 0
jne 0x511e26
mov eax, dword [0x6d983c]
mov dword [esp + 0x28], eax
mov esi, dword [edx + 8]
cmp dword [esi - 8], 0
mov byte [esp + 0x9c], bl
jne 0x511d29
add edx, 4
push edx
lea ecx, [esp + 0x2c]
call fcn.0050d6d0
jmp 0x511d83
mov ecx, edi
call fcn.0050fc10
test al, al
je 0x511d6d
mov edi, dword [edx + 4]
call fcn.00517840
test eax, eax
je 0x511d52
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str._s__or__s_
call eax
jmp 0x511d57
mov eax, str._s__or__s_
push esi
push edi
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0050ef40
mov edi, dword [esp + 0x50]
add esp, 0x10
jmp 0x511d83
mov edx, dword [edx + 4]
push edx
lea edx, [esp + 0x2c]
push 0x63bd1c
push edx
call fcn.0050ef40
add esp, 0xc
mov esi, dword [esp + 0x28]
call fcn.00517840
test eax, eax
je 0x511da2
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.The_value_for_the_option__s_must_be_specified.
call eax
jmp 0x511da7
mov eax, str.The_value_for_the_option__s_must_be_specified.
push esi
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0050eee0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 0x16
call fcn.0050e2b0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050de40
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], bl
cmp eax, 0xffffffff
je 0x511dfe
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511dfe
call fcn.0050ccc0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x17], 0
mov byte [esp + 0x9c], 1
cmp eax, 0xffffffff
je 0x511e26
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511e26
call fcn.0050ccc0
inc ebp
cmp byte [esp + 0x17], 0
jne 0x511cdb
jmp 0x511f1b
mov al, byte [esp + 0x17]
test al, al
je 0x511f1b
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov bl, 0x17
lea ecx, [ecx]
cmp ebp, edi
jae 0x511f13
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + ebp*4]
lea edx, [edi - 1]
cmp ebp, edx
jne 0x511e7c
test byte [eax + 8], 4
je 0x511e7c
cmp byte [esp + 0x2f], 0
jne 0x511f04
test byte [eax + 8], 2
jne 0x511f04
mov esi, dword [eax]
call fcn.00517840
test eax, eax
je 0x511ea3
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.The_required_parameter__s_was_not_specified.
call eax
jmp 0x511ea8
mov eax, str.The_required_parameter__s_was_not_specified.
push esi
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0050eee0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], bl
call fcn.0050e2b0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050de40
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 1
cmp eax, 0xffffffff
je 0x511eff
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511eff
call fcn.0050ccc0
mov byte [esp + 0x17], 0
mov al, byte [esp + 0x17]
inc ebp
test al, al
jne 0x511e50
jmp 0x511f1b
test al, al
jne 0x511fef
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 0
jne 0x511f3e
cmp byte [esp + 0x27], 0
je 0x511fe8
cmp byte [esp + 0xa4], 0
je 0x511fe8
call fcn.0051e780
mov esi, eax
test esi, esi
je 0x511fe8
mov eax, dword [0x6d983c]
mov dword [esp + 0x30], eax
cmp byte [esp + 0xa4], 0
mov bl, 0x18
mov byte [esp + 0x9c], bl
je 0x511fab
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00510ac0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 0x19
call fcn.0050d6d0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], bl
cmp eax, 0xffffffff
je 0x511fab
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511fab
call fcn.0050ccc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push eax
push ecx
push 0x63bc48
push esi
call edx
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
add esp, 0x10
mov byte [esp + 0x9c], 1
cmp eax, 0xffffffff
je 0x511fe8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x511fe8
call fcn.0050ccc0
cmp byte [esp + 0x17], 0
je 0x511ff3
xor esi, esi
jmp 0x512002
xor eax, eax
cmp byte [esp + 0x27], al
sete al
lea eax, [eax + eax - 1]
mov esi, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 0
cmp eax, 0xffffffff
je 0x512025
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x512025
call fcn.0050ccc0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x9c], 0xffffffff
cmp eax, 0xffffffff
je 0x51204b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x51204b
call fcn.0050ccc0
mov eax, esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4