Function at 0x100b7040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4aec
mov eax, dword fs:[0]
push eax
sub esp, 0xa74
mov eax, dword [0x102832a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa48], eax
xor edi, edi
mov dword [ebp - 0xa38], edi
lea ecx, [ebp - 0xa30]
call fcn.100073a0
mov dword [ebp - 4], 1
mov dword [ebp - 0xa40], edi
lea ecx, [ebp - 0xa28]
call fcn.100073a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa1c]
call fcn.100073a0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa28]
call fcn.10007150
lea ecx, [ebp - 0xa24]
call fcn.100073a0
mov byte [ebp - 4], 5
add esi, 0x94
xor ecx, ecx
mov edx, str.left
call fcn.10044fd0
mov edi, eax
cmp edi, 0xffffffff
jle 0x100b7153
lea ebx, [edi + 6]
mov ecx, ebx
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b7153
sub eax, edi
sub eax, 6
push eax
push ebx
lea ecx, [ebp - 0xa20]
push ecx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
xor ecx, ecx
mov edx, str.top
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b71c8
lea edi, [ebx + 5]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b71c8
sub eax, ebx
sub eax, 5
push eax
push edi
lea edx, [ebp - 0xa20]
push edx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
xor ecx, ecx
mov edx, str.Pt1X
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b7243
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b7243
sub eax, ebx
sub eax, 6
push eax
push edi
lea eax, [ebp - 0xa20]
push eax
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa6c], eax
xor ecx, ecx
mov edx, str.Pt2X
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b72be
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b72be
sub eax, ebx
sub eax, 6
push eax
push edi
lea ecx, [ebp - 0xa20]
push ecx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa68], eax
xor ecx, ecx
mov edx, str.Pt3X
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b7339
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b7339
sub eax, ebx
sub eax, 6
push eax
push edi
lea edx, [ebp - 0xa20]
push edx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa64], eax
xor ecx, ecx
mov edx, str.Pt4X
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b73b4
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b73b4
sub eax, ebx
sub eax, 6
push eax
push edi
lea eax, [ebp - 0xa20]
push eax
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa60], eax
xor ecx, ecx
mov edx, str.Pt1Y
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b742f
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b742f
sub eax, ebx
sub eax, 6
push eax
push edi
lea ecx, [ebp - 0xa20]
push ecx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa7c], eax
xor ecx, ecx
mov edx, str.Pt2Y
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b74aa
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b74aa
sub eax, ebx
sub eax, 6
push eax
push edi
lea edx, [ebp - 0xa20]
push edx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa78], eax
xor ecx, ecx
mov edx, str.Pt3Y
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b7525
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b7525
sub eax, ebx
sub eax, 6
push eax
push edi
lea eax, [ebp - 0xa20]
push eax
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa74], eax
xor ecx, ecx
mov edx, str.Pt4Y
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b75a0
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b75a0
sub eax, ebx
sub eax, 6
push eax
push edi
lea ecx, [ebp - 0xa20]
push ecx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa70], eax
xor ecx, ecx
mov edx, str.width
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b761b
lea edi, [ebx + 7]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b761b
sub eax, ebx
sub eax, 7
push eax
push edi
lea edx, [ebp - 0xa20]
push edx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa58], eax
xor ecx, ecx
mov edx, str.height
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b7696
lea edi, [ebx + 8]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b7696
sub eax, ebx
sub eax, 8
push eax
push edi
lea eax, [ebp - 0xa20]
push eax
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
push eax
call fcn.100bfb70
mov dword [ebp - 0xa5c], eax
xor ecx, ecx
mov edx, str.angle
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b7705
lea edi, [ebx + 7]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b7705
sub eax, ebx
sub eax, 7
push eax
push edi
lea ecx, [ebp - 0xa20]
push ecx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
xor ecx, ecx
mov edx, str.zorder
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b7774
lea edi, [ebx + 8]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b7774
sub eax, ebx
sub eax, 8
push eax
push edi
lea edx, [ebp - 0xa20]
push edx
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xa1c]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
lea ecx, [ebp - 0xa1c]
call fcn.10006520
push eax
call fcn.101084ec
add esp, 4
xor ecx, ecx
mov edx, str.name
call fcn.10044fd0
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100b77cf
lea edi, [ebx + 6]
mov ecx, edi
mov edx, 0x10235990
call fcn.10044fd0
cmp eax, 0xffffffff
jle 0x100b77cf
sub eax, ebx
sub eax, 6
push eax
push edi
lea eax, [ebp - 0xa20]
push eax
mov ecx, esi
call fcn.10006140
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0xa24]
call fcn.10007070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa20]
call fcn.100072b0
mov eax, dword [ebp - 0xa6c]
mov edx, eax
mov dword [ebp - 0xa4c], edx
mov ebx, eax
mov dword [ebp - 0xa44], ebx
mov eax, dword [ebp - 0xa7c]
mov edi, eax
mov dword [ebp - 0xa3c], edi
mov esi, eax
mov dword [ebp - 0xa50], esi
mov ecx, 1
mov dword [ebp - 0xa54], ecx
cmp ecx, 4
jge 0x100b784c
mov eax, dword [ebp + ecx*4 - 0xa6c]
cmp edx, eax
jle 0x100b781e
mov edx, eax
mov dword [ebp - 0xa4c], edx
cmp ebx, eax
jge 0x100b782a
mov ebx, eax
mov dword [ebp - 0xa44], ebx
mov eax, dword [ebp + ecx*4 - 0xa7c]
cmp edi, eax
jle 0x100b783d
mov edi, eax
mov dword [ebp - 0xa3c], edi
cmp esi, eax
jge 0x100b7849
mov esi, eax
mov dword [ebp - 0xa50], esi
inc ecx
jmp 0x100b7800
lea ecx, [ebp - 0xa2c]
call fcn.100073a0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa34]
call fcn.100073a0
mov bl, 0x16
mov byte [ebp - 4], bl
mov cl, 0x2e
lea esi, [ebp - 0xa24]
call fcn.10006120
mov esi, eax
cmp esi, 0xffffffff
jle 0x100b78f8
mov ecx, dword [ebp - 0xa24]
mov eax, dword [ecx - 0xc]
sub eax, esi
push eax
lea edx, [ebp - 0xa20]
push edx
lea ecx, [ebp - 0xa24]
call fcn.10006220
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0xa2c]
call fcn.10007070
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa20]
call fcn.100072b0
mov eax, dword [ebp - 0xa24]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [ebp - 0xa20]
push ecx
lea ecx, [ebp - 0xa24]
call fcn.10006220
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0xa34]
call fcn.10007070
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa20]
call fcn.100072b0
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100b7908
test eax, eax
jne 0x100b7a39
lea ecx, [ebp - 0xa2c]
call fcn.10006520
push eax
push str..png
call fcn.10106e01
add esp, 8
test eax, eax
je 0x100b79ef
lea ecx, [ebp - 0xa2c]
call fcn.10006520
push eax
push str..jpg
call fcn.10106e01
add esp, 8
test eax, eax
je 0x100b79ef
lea edi, [ebp - 0xa24]
call fcn.10045000
lea edi, [ebp - 0xa34]
call fcn.10045000
mov edx, dword [ebp - 0xa34]
push edx
call fcn.100c5600
add esp, 4
mov edi, eax
test edi, edi
je 0x100b79e9
push 0x10203ae0
call fcn.100c5600
add esp, 4
mov esi, eax
test esi, esi
je 0x100b79e9
push 0
lea ecx, [ebp - 0xa18]
call fcn.100c49c0
mov byte [ebp - 4], 0x19
push edi
mov eax, dword [ebp - 0xa24]
push eax
lea ecx, [ebp - 0xa18]
call fcn.100c78a0
test al, al
je 0x100b79db
push str..png
mov ecx, dword [ebp - 0xa2c]
push ecx
lea edx, [ebp - 0xa24]
push edx
call fcn.10044de0
push esi
mov eax, dword [ebp - 0xa24]
push eax
lea ecx, [ebp - 0xa18]
call fcn.100c7850
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa18]
call sym.epatent.dll_public_virtual:_void___thiscall_GImage::destructor_void_
mov edi, dword [ebp - 0xa3c]
mov cl, 0x2e
lea esi, [ebp - 0xa24]
call fcn.10006120
cmp eax, 0xffffffff
jle 0x100b7a39
mov ecx, dword [ebp - 0xa24]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
lea edx, [ebp - 0xa20]
push edx
mov ecx, esi
call fcn.10006220
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0xa2c]
call fcn.10007070
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa20]
call fcn.100072b0
mov eax, dword [ebp - 0xa24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100b7ca6
push ecx
mov ecx, esp
mov dword [ebp - 0xa20], esp
lea edx, [ebp - 0xa24]
push edx
call fcn.10007250
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], bl
call fcn.100b6440
test eax, eax
jne 0x100b7ca6
mov eax, dword [ebp - 0xa50]
push eax
mov ecx, dword [ebp - 0xa44]
push ecx
push edi
mov edx, dword [ebp - 0xa4c]
push edx
push str._shp_n_shpinst_n_shpleft_d_shptop_d_shpright_d_shpbottom_d_shpbxpage_shpbypage_n
lea eax, [ebp - 0xa1c]
push eax
call fcn.10008d10
add esp, 0x18
lea ecx, [ebp - 0xa1c]
push ecx
lea ecx, [ebp - 0xa28]
call fcn.100060c0
push str._shpfhdr0_shpwr3_shpfblwtxt0_shpz0_n_shplid1027_n
lea ecx, [ebp - 0xa1c]
call fcn.10006da0
lea edx, [ebp - 0xa1c]
push edx
lea ecx, [ebp - 0xa28]
call fcn.100060c0
mov eax, dword [ebp - 0xa58]
push eax
mov ecx, dword [ebp - 0xa5c]
push ecx
push str._absh_d_absw_d
lea edx, [ebp - 0xa1c]
push edx
call fcn.10008d10
add esp, 0x10
lea eax, [ebp - 0xa1c]
push eax
lea ecx, [ebp - 0xa28]
call fcn.100060c0
push str._sp_sn_shapeType_sv_75_n_sp_sn_fFlipH_sv_0_n_sp_sn_fFlipV_sv_0_n_sp_sn_fBehindDocument_sv_1_n_sp_sn_pib_sv__npict_n
lea ecx, [ebp - 0xa1c]
call fcn.10006da0
lea ecx, [ebp - 0xa1c]
push ecx
lea ecx, [ebp - 0xa28]
call fcn.100060c0
push str.pngblip
lea ecx, [ebp - 0xa1c]
call fcn.10006da0
lea edx, [ebp - 0xa1c]
push edx
lea ecx, [ebp - 0xa28]
call fcn.100060c0
lea eax, [ebp - 0xa24]
push eax
lea ecx, [ebp - 0xa30]
call fcn.10007070
push str..txt
mov ecx, dword [ebp - 0xa2c]
push ecx
lea edx, [ebp - 0xa30]
push edx
call fcn.10044de0
push 0x10230110
mov eax, dword [ebp - 0xa30]
push eax
call fcn.10106a11
add esp, 8
mov esi, eax
mov dword [ebp - 0xa40], esi
test esi, esi
jne 0x100b7c30
call fcn.100093b0
mov esi, eax
push str.Error_occurred_in_GetPageImage_while_Opening_Image_File_in_CSectionInfo::GetPageImage._n_r
xor ecx, ecx
call int.10009450
mov ecx, esi
call fcn.10008d70
push 0x10203f07
mov esi, dword [ebp - 0xa48]
mov ecx, esi
call fcn.10006de0
or dword [ebp - 0xa38], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa34]
call fcn.100072b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa2c]
call fcn.100072b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa24]
call fcn.100072b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa1c]
call fcn.100072b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa28]
call fcn.100072b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa30]
call fcn.100072b0
jmp 0x100b7d77
push esi
call fcn.1010aee0
add esp, 4
test eax, eax
jne 0x100b7c89
mov byte [ebp - 0x418], al
push esi
push 0x3ff
lea ecx, [ebp - 0x418]
push ecx
call fcn.1010b054
add esp, 0xc
test eax, eax
je 0x100b7c30
lea eax, [ebp - 0x418]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100b7c65
sub eax, edx
mov byte [ebp + eax - 0x418], cl
lea edx, [ebp - 0x418]
push edx
lea ecx, [ebp - 0xa28]
call fcn.100060e0
jmp 0x100b7c30
push 0x1026ae7c
lea ecx, [ebp - 0xa28]
call fcn.100060e0
test esi, esi
je 0x100b7ca6
push esi
call fcn.10106b5b
add esp, 4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa34]
call fcn.100072b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa2c]
call fcn.100072b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa24]
call fcn.100072b0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xa28]
add eax, 0xfffffff0
push eax
call fcn.100071c0
add esp, 4
add eax, 0x10
mov esi, dword [ebp - 0xa48]
mov dword [esi], eax
mov byte [ebp - 4], 3
or dword [ebp - 0xa38], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100b7d28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100b7d4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xa30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100b7d77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010583a
mov esp, ebp
pop ebp
ret 8