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

Disassembly:
push 0xffffffffffffffff
push 0x5f0c7a
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebx, edx
lea eax, [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], ebx
call fcn.005676f0
xor edi, edi
mov dword [esp + 0x14c], edi
cmp dword [esp + 0x24], edi
jne 0x5939bb
mov dword [esp + 0x14c], 0xffffffff
mov esi, dword [esp + 0x28]
cmp esi, edi
je 0x5946f5
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5946f5
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5946f5
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x5946f5
push str.interval
mov eax, ebx
call fcn.005050a0
cmp eax, edi
je 0x5939eb
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x80000000
jne 0x5939eb
mov edx, eax
call fcn.00504cd0
mov esi, eax
mov dword [esp + 0x38], edx
jmp 0x5939f1
xor esi, esi
mov dword [esp + 0x38], edi
push str.min_interval
mov eax, ebx
mov dword [esp + 0x24], esi
call fcn.005050a0
cmp eax, edi
je 0x593a27
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x80000000
jne 0x593a27
mov edx, eax
call fcn.00504cd0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
jmp 0x593a33
mov dword [esp + 0x4c], 0x1e
mov dword [esp + 0x50], edi
push str.pure_bt_speed
mov eax, ebx
call fcn.005050a0
cmp eax, edi
je 0x593a6b
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x80000000
jne 0x593a6b
mov edx, eax
call fcn.00504cd0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
jmp 0x593a7d
mov dword [esp + 0x84], 0xc8
mov dword [esp + 0x88], edi
push str.seed_speed_policy
mov eax, ebx
call fcn.005050a0
cmp eax, edi
je 0x593ab5
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x80000000
jne 0x593ab5
mov edx, eax
call fcn.00504cd0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
jmp 0x593ac3
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
cmp esi, edi
jne 0x593acf
mov dword [esp + 0x20], 0x708
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], edi
mov byte [esp + 0x108], 0
push str.tracker_id
mov eax, ebx
mov byte [esp + 0x150], 1
call fcn.005050a0
cmp eax, edi
mov ebp, 0x10
je 0x593b5c
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x60000000
jne 0x593b5c
lea esi, [esp + 0xe8]
call fcn.0049da60
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x158], 2
call fcn.0040b390
mov byte [esp + 0x14c], 1
cmp dword [esp + 0x100], ebp
jb 0x593b5c
mov edx, dword [esp + 0xec]
push edx
call fcn.0059b877
add esp, 4
push str.failure_reason
mov eax, ebx
call fcn.005050a0
cmp eax, edi
je 0x593c47
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x60000000
jne 0x593c47
lea esi, [esp + 0xe8]
call fcn.0049da60
mov byte [esp + 0x14c], 3
cmp dword [eax + 0x18], ebp
jb 0x593ba3
mov eax, dword [eax + 4]
jmp 0x593ba6
add eax, 4
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x158]
push ecx
push eax
push edx
push 0xad
lea esi, [esp + 0x48]
call fcn.004b2660
mov edi, dword [esp + 0x24]
push eax
call fcn.00567710
cmp dword [esp + 0x100], ebp
jb 0x593bea
mov eax, dword [esp + 0xec]
push eax
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x11c], ebp
jb 0x593c03
mov ecx, dword [esp + 0x108]
push ecx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x14c], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], 0
mov byte [esp + 0x108], 0
je 0x5946f5
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jmp 0x59398e
push str.warning_message
mov eax, ebx
call fcn.005050a0
cmp eax, edi
je 0x593cab
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x60000000
jne 0x593cab
lea esi, [esp + 0xe8]
call fcn.0049da60
mov byte [esp + 0x14c], 4
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x80
push eax
call edx
cmp dword [esp + 0x100], ebp
jb 0x593cab
mov eax, dword [esp + 0xec]
push eax
call fcn.0059b877
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0x14]
add eax, 0x80
mov byte [esp + 0x14c], 5
cmp dword [eax], 1
mov dword [esp + 0x80], eax
jne 0x593e61
mov ecx, dword [esp + 0x14]
add ecx, 0x84
push ecx
lea esi, [esp + 0xec]
call fcn.004894d0
push str.files
mov eax, ebx
mov byte [esp + 0x150], 6
call fcn.005050a0
cmp eax, edi
je 0x593d18
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x20000000
je 0x593d7b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push 0x611070
push 0xffffffffffffffff
push 0xae
lea esi, [esp + 0x48]
call fcn.004b2660
mov edi, dword [esp + 0x24]
push eax
call fcn.00567710
lea ecx, [esp + 0xe8]
call fcn.0040b130
lea esi, [esp + 0x58]
call fcn.00594720
lea ecx, [esp + 0x104]
call fcn.0040b130
lea eax, [esp + 0x24]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00565750
jmp 0x5946f5
cmp dword [esp + 0x100], ebp
mov ecx, dword [esp + 0xec]
jae 0x593d92
lea ecx, [esp + 0xec]
push eax
mov eax, ecx
call fcn.00505040
mov esi, eax
cmp esi, edi
jne 0x593e03
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x611070
push 0xffffffffffffffff
push 0xaf
lea esi, [esp + 0x48]
call fcn.004b2660
mov edi, dword [esp + 0x24]
push eax
call fcn.00567710
lea ecx, [esp + 0xe8]
call fcn.0040b130
lea esi, [esp + 0x58]
call fcn.00594720
lea ecx, [esp + 0x104]
call fcn.0040b130
lea eax, [esp + 0x24]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00565750
jmp 0x5946f5
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
mov eax, str.complete
call fcn.00505000
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edi, eax
push esi
mov eax, str.incomplete
call fcn.00505000
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ebp, eax
push esi
mov eax, str.downloaded
call fcn.00505000
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ebx, eax
push esi
mov eax, str.downloaders
call fcn.00505000
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x84]
push ebx
push ebp
push edi
push eax
call edx
jmp 0x593d41
push str.peers
mov eax, ebx
call fcn.005050a0
mov ecx, eax
cmp ecx, edi
mov dword [esp + 0x40], ecx
je 0x594245
mov eax, dword [ecx + 0x10]
shr eax, 0x1d
cmp eax, 3
jne 0x594177
mov ebp, dword [ecx + 0xc]
mov eax, dword [ecx]
xor edi, edi
test ebp, ebp
mov dword [esp + 0x1c], eax
jle 0x593fec
mov dword [esp + 0x18], ebp
mov bl, 7
mov eax, 6
cmp dword [esp + 0x18], eax
jl 0x593fe8
xor eax, eax
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], eax
mov byte [esp + 0xb8], al
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov byte [esp + 0x14c], bl
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x44], eax
call fcn.005d95d0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x98]
call fcn.0057c640
lea ecx, [esp + 0x44]
lea edx, [esp + 0xe8]
call fcn.004a8980
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x158], 8
call fcn.0040b390
lea ecx, [esp + 0xe8]
mov byte [esp + 0x14c], bl
call fcn.0040b130
mov esi, dword [esp + 0x1c]
xor eax, eax
lea ecx, [eax + 2]
lea esp, [esp]
xor edx, edx
mov dh, al
add esi, 1
sub ecx, 1
mov dl, byte [esi - 1]
movzx eax, dx
jne 0x593f80
mov ecx, dword [esp + 0x44]
neg ecx
movzx eax, ax
sbb ecx, ecx
test ecx, fcn.00489120
mov dword [esp + 0x1c], esi
mov dword [esp + 0xd0], eax
jne 0x593fc1
lea edx, [esp + 0xb4]
push edx
lea esi, [esp + 0x5c]
call fcn.00594760
lea esi, [esp + 0xb4]
mov byte [esp + 0x14c], 5
call fcn.00595890
mov eax, 6
sub dword [esp + 0x18], eax
add edi, eax
cmp edi, ebp
jl 0x593ea8
mov ebx, dword [esp + 0x3c]
push str.peers6
mov eax, ebx
call fcn.005050a0
xor ecx, ecx
cmp eax, ecx
je 0x59429d
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
jne 0x59429d
mov edx, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0xc]
cmp eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x74], ecx
jle 0x5942a1
mov dword [esp + 0x1c], eax
mov bl, 0xa
xor ebp, ebp
cmp dword [esp + 0x1c], 0x12
jl 0x5942a1
xor eax, eax
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebp
mov byte [esp + 0xb8], 0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov byte [esp + 0x14c], bl
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x34], ebp
call fcn.005d95d0
lea esi, [esp + 0x18]
lea edi, [esp + 0x98]
mov dword [esp + 0x38], eax
call fcn.004f7c80
lea ecx, [esp + 0x34]
lea edx, [esp + 0xe8]
call fcn.004a8980
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x158], 0xb
call fcn.0040b390
mov byte [esp + 0x14c], bl
cmp dword [esp + 0x100], 0x10
jb 0x594116
mov eax, dword [esp + 0xec]
push eax
call fcn.0059b877
add esp, 4
mov ecx, dword [esp + 0x18]
xor eax, eax
lea esi, [eax + 2]
nop
xor edx, edx
mov dh, al
add ecx, 1
sub esi, 1
mov dl, byte [ecx - 1]
movzx eax, dx
jne 0x594120
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
neg ecx
movzx eax, ax
sbb ecx, ecx
test ecx, fcn.00489120
mov dword [esp + 0xd0], eax
je 0x59424e
mov byte [esp + 0x14c], 5
cmp dword [esp + 0xcc], 0x10
jb 0x594281
mov edx, dword [esp + 0xb8]
push edx
jmp 0x594279
cmp eax, 2
jne 0x594245
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xc]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x593fe8
mov ebx, dword [esp + 0x14]
xor edi, edi
xor eax, eax
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], eax
mov byte [esp + 0xb8], al
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x14c], 9
mov ecx, dword [ecx]
lea edx, [esp + 0xb4]
add ecx, edi
push edx
call fcn.00593700
test al, al
je 0x594234
lea eax, [esp + 0xb4]
push eax
lea esi, [esp + 0x5c]
call fcn.00594760
lea esi, [esp + 0xb4]
mov byte [esp + 0x14c], 5
call fcn.00595890
add ebp, 1
add edi, 0x14
cmp ebp, dword [esp + 0x2c]
jl 0x59419b
jmp 0x593fe8
lea esi, [esp + 0xb4]
call fcn.00595890
jmp 0x593d4d
mov dword [esp + 0x40], edi
jmp 0x593fec
lea eax, [esp + 0xb4]
push eax
lea esi, [esp + 0x5c]
call fcn.00594760
mov byte [esp + 0x14c], 5
cmp dword [esp + 0xcc], 0x10
jb 0x594281
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x74]
sub dword [esp + 0x1c], 0x12
add eax, 0x12
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x74], eax
jl 0x59403c
jmp 0x5942a1
mov dword [esp + 0x2c], ecx
xor ebp, ebp
cmp dword [esp + 0x40], ebp
jne 0x594323
cmp dword [esp + 0x2c], ebp
jne 0x594323
mov edi, dword [esp + 0x14]
cmp dword [edi + 0xdc], 3
je 0x594323
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x611070
push 0xffffffffffffffff
push 0xb0
lea esi, [esp + 0x48]
call fcn.004b2660
push eax
call fcn.00567710
lea esi, [esp + 0x58]
call fcn.00594720
cmp dword [esp + 0x11c], 0x10
jb 0x594304
mov ecx, dword [esp + 0x108]
push ecx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], ebp
mov byte [esp + 0x108], 0
jmp 0x593d62
mov ebx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
push str.external_ip
mov eax, ebx
mov dword [esp + 0x124], ebp
mov dword [esp + 0x128], ebp
mov dword [esp + 0x13c], ebp
call fcn.005050a0
cmp eax, ebp
je 0x594442
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
jne 0x594442
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, 4
mov dword [esp + 0x2c], ecx
jne 0x5943e8
lea eax, [esp + 0x2c]
lea esi, [esp + 0x98]
call fcn.0057c640
mov edx, dword [eax]
mov dword [esp + 0x120], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x124], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x128], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x12c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x130], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x134], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x138], edx
jmp 0x594442
cmp eax, 0x10
jne 0x594442
lea esi, [esp + 0x2c]
lea edi, [esp + 0x98]
call fcn.004f7c80
mov ecx, dword [eax]
mov dword [esp + 0x120], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x124], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x128], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x12c], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x130], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x134], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x138], eax
push str.complete
mov eax, ebx
call fcn.005050a0
cmp eax, ebp
je 0x594477
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x80000000
jne 0x594477
mov edx, eax
call fcn.00504cd0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
or esi, 0xffffffff
jmp 0x594482
or esi, 0xffffffff
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
push str.incomplete
mov eax, ebx
call fcn.005050a0
cmp eax, ebp
je 0x5944b4
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x80000000
jne 0x5944b4
mov edx, eax
call fcn.00504cd0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jmp 0x5944bc
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00559d50
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x14c], 0xc
cmp dword [eax + 0x18c], ebp
je 0x5945ac
mov dword [esp + 0x34], ebp
call fcn.005d95d0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x18c]
lea ecx, [eax + 0x38]
lea eax, [esp + 0x34]
lea esi, [esp + 0x98]
call fcn.005646c0
push eax
lea esi, [esp + 0xec]
call fcn.004a90b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ecx
push eax
call fcn.00594c30
lea ecx, [esp + 0x68]
mov esi, eax
call fcn.00559e40
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov ebx, dword [ebx + 0x18c]
mov eax, dword [ebx + 0x358]
mov edi, dword [eax]
mov dword [esp + 0x44], eax
lea ecx, [ecx]
cmp edi, eax
je 0x5945ac
cmp edi, dword [ebx + 0x358]
jne 0x594561
call fcn.005b8b18
lea edx, [edi + 8]
push edx
lea esi, [esp + 0xec]
call fcn.004a90b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
lea ebp, [eax + 4]
push ecx
push eax
call fcn.00594c30
lea ecx, [esp + 0x68]
mov esi, eax
call fcn.00559e40
mov dword [ebp], esi
mov edx, dword [esi + 4]
mov dword [edx], esi
cmp edi, dword [ebx + 0x358]
jne 0x5945a2
call fcn.005b8b18
mov edi, dword [edi]
mov eax, dword [esp + 0x44]
xor ebp, ebp
jmp 0x594550
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x88]
push edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
lea edx, [esp + 0x10c]
push edx
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x12c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x3c]
add edx, 0x198
push edx
mov edx, dword [esp + 0xac]
push edx
call eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
mov dword [esp + 0x70], ebp
je 0x594645
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.0059b877
mov ecx, dword [esp + 0x70]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x594630
push ecx
call fcn.0059b877
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x6c], ebp
je 0x594678
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x60]
push ecx
call fcn.00595800
mov edx, dword [esp + 0x60]
add esp, 4
push edx
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x11c], 0x10
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
jb 0x59469e
mov eax, dword [esp + 0x108]
push eax
call fcn.0059b877
add esp, 4
mov dword [esp + 0x14c], 0xffffffff
mov esi, dword [esp + 0x28]
cmp esi, ebp
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], ebp
mov byte [esp + 0x108], 0
je 0x5946f5
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5946f5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5946f5
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.005b88a9
add esp, 0x13c
ret 4