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

Disassembly:
push 0xffffffffffffffff
push 0x60f076
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
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 [0x6db93c]
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.00512190
mov eax, dword [0x6db93c]
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 0x513baf
lea ebx, [eax*4]
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
add eax, ebx
push eax
lea ecx, [esp + 0x24]
call fcn.0050f610
push 0x63dd6c
lea ecx, [esp + 0x24]
call fcn.0050f840
test eax, eax
jne 0x513350
mov byte [esp + 0x2d], al
jmp 0x513b9b
cmp byte [esp + 0x2d], 0
je 0x513ad9
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 8], 1
jbe 0x513ad9
lea ecx, [esp + 0x20]
call fcn.0050f090
mov edx, dword [esp + 0x20]
movzx ecx, word [edx]
mov eax, dword [ebp]
mov eax, dword [eax]
push ecx
push eax
call fcn.005bdcce
add esp, 8
test eax, eax
je 0x513ad9
mov edx, dword [0x6db93c]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 2
or edi, 0xffffffff
call fcn.0050f090
mov eax, dword [esp + 0x20]
cmp word [eax], 0x2d
jne 0x51350b
lea ecx, [esp + 0x20]
call fcn.0050f090
mov eax, dword [esp + 0x20]
cmp word [eax + 2], 0x2d
jne 0x51350b
mov ecx, ebp
mov byte [esp + 0x2e], 1
lea edx, [eax + 4]
call fcn.00511ba0
mov ecx, edx
lea esi, [esp + 0x5c]
mov bl, al
call fcn.005126a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 3
call fcn.0050f610
mov ecx, esi
mov byte [esp + 0x9c], 2
call fcn.00401017
test bl, bl
je 0x51347b
mov ecx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
call fcn.00511fc0
mov edi, eax
cmp edi, 0xffffffff
jne 0x513743
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push str.Unknown_long_option__s
call fcn.00511bb0
add esp, 8
push eax
lea edx, [esp + 0x88]
push edx
call fcn.00510e70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 4
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
lea ecx, [esp + 0x80]
jmp 0x5136fc
push 0x63dd6c
lea ecx, [esp + 0x54]
call fcn.004030fb
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 5
call fcn.00512350
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.00511bb0
add esp, 8
push eax
lea edx, [esp + 0x90]
push edx
call fcn.00510e70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 6
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
lea ecx, [esp + 0x88]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51370e
lea ecx, [eax + 2]
lea esi, [esp + 0x90]
mov byte [esp + 0x2e], 0
call fcn.00512680
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 7
call fcn.0050f610
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 2
cmp eax, 0xffffffff
je 0x513557
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513557
call fcn.0050ec00
mov eax, dword [esp + 0x1c]
mov esi, dword [eax - 8]
mov edi, edi
test esi, esi
je 0x5135b0
push esi
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x24]
call fcn.00510600
mov ecx, dword [ebp]
push eax
mov byte [esp + 0xa0], 9
call fcn.00511f60
mov ecx, dword [esp + 0x64]
add ecx, 0xfffffff4
mov edi, eax
mov eax, dword [ecx]
mov byte [esp + 0x9c], 2
cmp eax, 0xffffffff
je 0x5135a8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5135a8
call fcn.0050ec00
dec esi
cmp edi, 0xffffffff
je 0x513560
jmp 0x51361e
mov edx, dword [esp + 0x1c]
push edx
push 0
push str.Unknown_option__s
call fcn.00511bb0
add esp, 8
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00510e70
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.005101f0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050fd80
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 2
cmp eax, 0xffffffff
je 0x51361e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x51361e
call fcn.0050ec00
inc esi
cmp edi, 0xffffffff
je 0x51370e
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx - 8]
je 0x513709
push esi
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x24]
call fcn.00510600
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0xa
call fcn.0050f610
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 0x513709
lea ecx, [esp + 0x20]
call fcn.0050f090
mov edx, dword [esp + 0x20]
movzx eax, word [edx]
push eax
push 1
lea ecx, [esp + 0x38]
call fcn.00510170
mov eax, dword [0x63dcd0]
push eax
inc esi
push esi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0xb
call fcn.005104b0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 0xc
call fcn.00510870
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.0050fca0
inc dword [esp + 0x44]
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 2
call fcn.00401017
cmp edi, 0xffffffff
jne 0x513743
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 0x513b9b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513b9b
call fcn.0050ec00
jmp 0x513b9b
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 0x51375d
add eax, 2
mov edx, dword [ebp]
mov esi, dword [edx + 0x24]
mov esi, dword [esi + edi*4]
cmp dword [esi], 0
jne 0x5137da
cmp word [eax], 0
je 0x5137c2
push ebx
push 0
push str.Unexpected_characters_following_option__s.
call fcn.00511bb0
add esp, 8
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00510e70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xd
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51370e
test byte [esi + 0x14], 8
mov byte [esi + 0x18], 1
je 0x513713
mov byte [esp + 0x27], 1
jmp 0x51370e
test cl, cl
je 0x513845
mov cx, word [eax]
add eax, 2
cmp cx, 0x3d
je 0x51391c
push ebx
push 0
push str.Option__s_requires_a_value___expected.
call fcn.00511bb0
add esp, 8
push eax
lea edx, [esp + 0x8c]
push edx
call fcn.00510e70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xe
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
lea ecx, [esp + 0x84]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51370e
movzx ecx, word [eax]
test ecx, ecx
je 0x5138b6
cmp ecx, 0x3a
je 0x5138b1
cmp ecx, 0x3d
je 0x5138b1
test byte [esi + 0x14], 0x10
je 0x51391c
push ebx
push 0
push str.Separator_expected_after_the_option__s.
call fcn.00511bb0
add esp, 8
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00510e70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x10
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
lea ecx, [esp + 0x60]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51370e
add eax, 2
jmp 0x51391c
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x44]
jne 0x513916
push ebx
push 0
push str.Option__s_requires_a_value.
call fcn.00511bb0
add esp, 8
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.00510e70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xf
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x51370e
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
cmp byte [esp + 0x17], 0
je 0x513713
push eax
lea ecx, [esp + 0x3c]
call fcn.004030fb
mov eax, dword [esi + 0x10]
sub eax, 0
mov byte [esp + 0x9c], 0x11
je 0x513ab7
sub eax, 1
je 0x513a12
sub eax, 1
jne 0x513ab7
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.00524a60
test eax, eax
je 0x5139a2
cmp word [eax], 0
jne 0x5139a2
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 0x513713
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.00511bb0
add esp, 8
push eax
lea edx, [esp + 0x7c]
push edx
call fcn.00510e70
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x13
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
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 0x513713
push 0xa
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
call fcn.0050f9d0
test al, al
je 0x513a47
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 0x513713
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.00511bb0
add esp, 8
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00510e70
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x12
call fcn.00510870
push 0xa
push 1
mov ecx, eax
call fcn.0050fd80
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 0x513713
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.00511dd0
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 2
call fcn.00401017
jmp 0x513713
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x3c], eax
jae 0x513b1a
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.00510030
test byte [esi + 8], 4
jne 0x513b10
inc dword [esp + 0x3c]
jmp 0x513b9b
mov byte [esp + 0x2f], 1
jmp 0x513b9b
mov esi, dword [esp + 0x20]
call fcn.00519760
test eax, eax
je 0x513b39
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Unexpected_parameter__s
call eax
jmp 0x513b3e
mov eax, str.Unexpected_parameter__s
push esi
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00510e70
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.005101f0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050fd80
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 1
cmp eax, 0xffffffff
je 0x513b96
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513b96
call fcn.0050ec00
mov byte [esp + 0x17], 0
inc dword [esp + 0x28]
cmp byte [esp + 0x17], 0
jne 0x51330e
jmp 0x513e0b
cmp byte [esp + 0x17], 0
je 0x513e0b
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 0x513d27
mov ecx, dword [edi]
mov edx, dword [ecx + 0x24]
mov edx, dword [edx + ebp*4]
test byte [edx + 0x14], 1
je 0x513d16
cmp byte [edx + 0x18], 0
jne 0x513d16
mov eax, dword [0x6db93c]
mov dword [esp + 0x28], eax
mov esi, dword [edx + 8]
cmp dword [esi - 8], 0
mov byte [esp + 0x9c], bl
jne 0x513c19
add edx, 4
push edx
lea ecx, [esp + 0x2c]
call fcn.0050f610
jmp 0x513c73
mov ecx, edi
call fcn.00511ba0
test al, al
je 0x513c5d
mov edi, dword [edx + 4]
call fcn.00519760
test eax, eax
je 0x513c42
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str._s__or__s_
call eax
jmp 0x513c47
mov eax, str._s__or__s_
push esi
push edi
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00510ed0
mov edi, dword [esp + 0x50]
add esp, 0x10
jmp 0x513c73
mov edx, dword [edx + 4]
push edx
lea edx, [esp + 0x2c]
push 0x63de64
push edx
call fcn.00510ed0
add esp, 0xc
mov esi, dword [esp + 0x28]
call fcn.00519760
test eax, eax
je 0x513c92
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 0x513c97
mov eax, str.The_value_for_the_option__s_must_be_specified.
push esi
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00510e70
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.005101f0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050fd80
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], bl
cmp eax, 0xffffffff
je 0x513cee
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513cee
call fcn.0050ec00
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 0x513d16
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513d16
call fcn.0050ec00
inc ebp
cmp byte [esp + 0x17], 0
jne 0x513bcb
jmp 0x513e0b
mov al, byte [esp + 0x17]
test al, al
je 0x513e0b
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov bl, 0x17
lea ecx, [ecx]
cmp ebp, edi
jae 0x513e03
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 0x513d6c
test byte [eax + 8], 4
je 0x513d6c
cmp byte [esp + 0x2f], 0
jne 0x513df4
test byte [eax + 8], 2
jne 0x513df4
mov esi, dword [eax]
call fcn.00519760
test eax, eax
je 0x513d93
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 0x513d98
mov eax, str.The_required_parameter__s_was_not_specified.
push esi
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00510e70
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.005101f0
push 0xa
push 1
lea ecx, [esp + 0x20]
call fcn.0050fd80
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], 1
cmp eax, 0xffffffff
je 0x513def
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513def
call fcn.0050ec00
mov byte [esp + 0x17], 0
mov al, byte [esp + 0x17]
inc ebp
test al, al
jne 0x513d40
jmp 0x513e0b
test al, al
jne 0x513edf
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 0
jne 0x513e2e
cmp byte [esp + 0x27], 0
je 0x513ed8
cmp byte [esp + 0xa4], 0
je 0x513ed8
call fcn.005205f0
mov esi, eax
test esi, esi
je 0x513ed8
mov eax, dword [0x6db93c]
mov dword [esp + 0x30], eax
cmp byte [esp + 0xa4], 0
mov bl, 0x18
mov byte [esp + 0x9c], bl
je 0x513e9b
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.005129b0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 0x19
call fcn.0050f610
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x9c], bl
cmp eax, 0xffffffff
je 0x513e9b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513e9b
call fcn.0050ec00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push eax
push ecx
push 0x63dd90
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 0x513ed8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513ed8
call fcn.0050ec00
cmp byte [esp + 0x17], 0
je 0x513ee3
xor esi, esi
jmp 0x513ef2
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 0x513f15
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513f15
call fcn.0050ec00
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x9c], 0xffffffff
cmp eax, 0xffffffff
je 0x513f3b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x513f3b
call fcn.0050ec00
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