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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, ecx
mov dword [esp + 0x28], edx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x160]
mov dword [esp + 0x38], eax
cmp edi, dword [ebx + 0x90]
jne 0x10048199
lea edx, [ebx + 0x120]
lea ecx, [ebx + 0x11c]
mov dword [esp + 0x28], edx
jmp 0x100481a6
mov ecx, dword [ebx + 0x128]
lea eax, [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], 3
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + 4]
push edx
push ecx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x28], eax
call dword [0x1009e2c4]
call esi
add esp, 0x10
mov dword [esp + 0x34], eax
cmp eax, 0xfffffffb
je 0x100481f7
cmp eax, 0xfffffffd
je 0x100481f7
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 0x10]
jmp 0x10048205
mov esi, dword [ebp + 0x10]
mov ecx, esi
cmp byte [esp + 0x1c], 0
cmovne ecx, dword [ebp + 0xc]
push dword [ebp + 0x1c]
mov edx, eax
push 0xad5
push ecx
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.1004e5ca
add esp, 0x10
test al, al
je 0x10048cf0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
add eax, 5
cmp eax, 0x12
ja case.default.0x10048242
lfence
jmp dword [eax*4 + 0x10048d08]
mov eax, dword [esp + 0x18]
sub eax, dword [edi + 0x40]
mov esi, dword [edi + 0x2c]
mov ecx, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, dword [edi + 0x40]
push eax
push edi
call dword [0x1009e2c4]
call esi
movzx eax, ax
add esp, 0xc
mov word [esp + 0x14], ax
test ax, ax
je 0x100482c2
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x16]
push 1
push 0xb17
push eax
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.1004e5ca
mov esi, dword [ebx + 0x3c]
add esp, 0x10
test esi, esi
je 0x100482b8
lea eax, [esp + 0x14]
push 1
push eax
push dword [ebx + 4]
mov ecx, esi
call dword [0x1009e2c4]
call esi
add esp, 0xc
jmp 0x10048ab0
xor ecx, ecx
cmp dword [ebx + 0x50], ecx
jmp 0x10048a9c
mov eax, dword [esp + 0x18]
mov edx, edi
sub eax, dword [edi + 0x40]
mov esi, dword [esp + 0x38]
push eax
mov eax, dword [ebp + 0xc]
add eax, dword [edi + 0x40]
push eax
lea ecx, [esi + 0x50]
call fcn.1004dee6
mov dword [esp + 0x44], eax
pop ecx
pop ecx
test eax, eax
je 0x10048b11
push 0
push eax
mov edx, esi
mov ecx, ebx
call fcn.1004da59
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
mov esi, eax
cmp byte [ecx + 0x81], 0
mov eax, dword [ecx + 0x60]
mov dword [ecx + 0x5c], eax
je 0x10048333
cmp byte [ecx + 0x82], 0
jne 0x10048333
test esi, esi
jne 0x10048345
mov esi, dword [ebx + 0x78]
test esi, esi
je case.default.0x10048242
push 0
push dword [esp + 0x40]
jmp 0x100482a3
test esi, esi
je 0x10048afb
cmp byte [esi + 0x22], 0
je 0x10048af4
cmp byte [esi + 0x20], 0
jne 0x10048aed
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
jne 0x10048ae6
cmp dword [esi + 4], ecx
je 0x100483a5
cmp byte [ebx + 0x130], cl
jne 0x1004838d
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x100482ba
push ecx
push dword [esi]
mov ecx, eax
push dword [ebx + 4]
call dword [0x1009e2c4]
call dword [esp + 0x48]
jmp 0x100482b0
push ecx
mov edx, esi
mov ecx, ebx
call fcn.1004c098
pop ecx
test eax, eax
jne 0x10048cff
jmp 0x10048ab0
cmp dword [ebx + 0x70], ecx
je 0x100482ba
mov ecx, ebx
mov byte [esi + 0x20], 1
call fcn.1004d27a
mov byte [esi + 0x20], 0
test eax, eax
je 0x10048b11
push dword [esi + 0x18]
push dword [esi + 0x10]
push dword [esi + 0x14]
mov esi, dword [ebx + 0x70]
mov ecx, esi
push eax
push dword [ebx + 0x74]
call dword [0x1009e2c4]
call esi
add esp, 0x14
test eax, eax
je 0x10048adf
mov eax, dword [ebx + 0x1ac]
mov dword [ebx + 0x1a8], eax
jmp 0x10048ab0
mov edx, dword [ebx + 0x16c]
mov dword [esp + 0x10], edx
test edx, edx
je 0x10048413
mov eax, dword [edx]
mov dword [ebx + 0x16c], eax
jmp 0x10048456
mov esi, dword [ebx + 0xc]
mov ecx, esi
push 0x30
call dword [0x1009e2c4]
call esi
pop ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x10048b11
mov esi, dword [ebx + 0xc]
mov ecx, esi
push 0x20
call dword [0x1009e2c4]
call esi
mov edx, dword [esp + 0x14]
pop ecx
mov dword [edx + 0x24], eax
test eax, eax
je 0x10048b02
add eax, 0x20
mov dword [edx + 0x28], eax
xor ecx, ecx
lea eax, [edx + 0x2c]
mov dword [eax], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x168]
mov dword [edx], eax
mov dword [ebx + 0x168], edx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 0xc]
add eax, dword [edi + 0x40]
mov dword [edx + 4], eax
mov esi, dword [edi + 0x1c]
mov ecx, esi
push eax
push edi
call dword [0x1009e2c4]
call esi
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], eax
inc dword [ebx + 0x134]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [edi + 0x3c]
add edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x28]
mov ecx, esi
sub eax, 2
mov dword [esp + 0x34], edx
push eax
lea eax, [esp + 0x28]
push eax
push edx
lea eax, [esp + 0x38]
push eax
push edi
call dword [0x1009e2c4]
call esi
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
mov esi, dword [esp + 0x34]
sub ecx, dword [eax + 0x24]
sar ecx, 1
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x2c], esi
jae 0x1004858e
lfence
cmp edx, 1
je 0x1004858e
mov ecx, dword [eax + 0x28]
sub ecx, dword [eax + 0x24]
mov esi, dword [ebx + 0x10]
add ecx, ecx
push ecx
push dword [eax + 0x24]
mov dword [esp + 0x4c], ecx
mov ecx, esi
call dword [0x1009e2c4]
call esi
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10048b11
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
add eax, esi
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x24], esi
lea eax, [esi + eax*2]
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x28]
mov ecx, esi
sub eax, 2
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x38]
push eax
push edi
call dword [0x1009e2c4]
call esi
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
mov esi, dword [esp + 0x34]
sub ecx, dword [eax + 0x24]
sar ecx, 1
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x2c], esi
jb 0x100484fa
push dword [ebp + 0x1c]
mov dword [eax + 0x18], ecx
xor edx, edx
push dword [esp + 0x4c]
lea ecx, [eax + 0xc]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x50], ecx
mov ecx, ebx
mov word [eax], dx
mov edx, edi
push dword [ebp + 0xc]
call fcn.10048da8
add esp, 0x10
test eax, eax
jne 0x10048cff
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x100485ea
mov eax, dword [esp + 0x44]
mov ecx, esi
push dword [ebx + 0x184]
push dword [eax]
push dword [ebx + 4]
call dword [0x1009e2c4]
call esi
add esp, 0xc
jmp 0x10048602
cmp dword [ebx + 0x50], 0
je 0x10048602
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1004ce5c
pop ecx
pop ecx
lea ecx, [ebx + 0x19c]
call fcn.1004ddb6
jmp 0x10048ab0
mov edi, dword [edi + 0x40]
mov esi, dword [ebp + 8]
add edi, dword [ebp + 0xc]
and dword [esp + 0x34], 0
push edi
push esi
mov esi, dword [esi + 0x1c]
mov ecx, esi
mov byte [esp + 0x18], 1
call dword [0x1009e2c4]
call esi
add eax, edi
lea ecx, [ebx + 0x19c]
push eax
push edi
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.1004dee6
add esp, 0x10
mov dword [esp + 0x50], eax
test eax, eax
je 0x10048b11
mov eax, dword [ebx + 0x1a8]
mov edx, edi
mov dword [ebx + 0x1ac], eax
mov ecx, ebx
push 2
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0xc]
call fcn.10048da8
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10048b32
mov esi, dword [ebx + 0x34]
mov eax, dword [ebx + 0x1a8]
mov dword [ebx + 0x1ac], eax
test esi, esi
je 0x100486b9
push dword [ebx + 0x184]
mov ecx, esi
push dword [esp + 0x54]
push dword [ebx + 4]
call dword [0x1009e2c4]
call esi
add esp, 0xc
xor al, al
jmp 0x100486bd
mov al, byte [esp + 0x10]
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x100486ee
cmp dword [ebx + 0x34], 0
je 0x100486d9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [ecx], eax
mov esi, dword [ebx + 0x38]
push dword [esp + 0x50]
mov ecx, esi
push dword [ebx + 4]
call dword [0x1009e2c4]
call esi
pop ecx
pop ecx
xor al, al
test al, al
je 0x1004870a
cmp dword [ebx + 0x50], 0
je 0x1004870a
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1004ce5c
pop ecx
pop ecx
lea ecx, [ebx + 0x19c]
call fcn.1004ddb6
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.10048d54
cmp dword [ebx + 0x134], 0
jne 0x10048ab0
mov eax, dword [ebx + 0x1dc]
cmp eax, 2
je 0x10048ab0
cmp eax, 3
jne 0x10048b19
mov dword [ebx + 0x114], fcn.1004bf20
jmp 0x10048ab0
mov eax, dword [esp + 0x30]
cmp dword [ebx + 0x134], eax
je 0x10048be2
mov eax, dword [ebx + 0x168]
mov ecx, dword [edi + 0x40]
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx*2]
mov ecx, esi
push eax
push edi
mov dword [esp + 0x3c], eax
call dword [0x1009e2c4]
call esi
mov esi, dword [esp + 0x44]
pop ecx
pop ecx
cmp eax, dword [esi + 8]
jne 0x10048b44
push eax
push dword [esp + 0x38]
push dword [esi + 4]
call fcn.10076e54
add esp, 0xc
test eax, eax
jne 0x10048b44
mov eax, dword [esi]
mov dword [ebx + 0x168], eax
mov eax, dword [ebx + 0x16c]
mov dword [esi], eax
dec dword [ebx + 0x134]
cmp dword [ebx + 0x38], 0
mov dword [ebx + 0x16c], esi
je 0x1004886b
cmp byte [ebx + 0xe8], 0
je 0x10048852
mov edx, dword [esi + 0x10]
test edx, edx
je 0x10048852
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
lea ecx, [eax + ecx*2]
movzx eax, word [edx]
test ax, ax
je 0x10048810
mov edi, eax
mov word [ecx], di
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
mov edi, eax
test ax, ax
jne 0x100487fa
mov edi, dword [ebp + 8]
cmp byte [ebx + 0xe9], 0
je 0x1004884d
mov edx, dword [esi + 0x14]
test edx, edx
je 0x1004884d
mov ax, word [ebx + 0x1d4]
mov word [ecx], ax
add ecx, 2
movzx eax, word [edx]
test ax, ax
je 0x1004884d
mov edi, eax
mov word [ecx], di
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
mov edi, eax
test ax, ax
jne 0x10048837
mov edi, dword [ebp + 8]
xor eax, eax
mov word [ecx], ax
push dword [esi + 0xc]
mov esi, dword [ebx + 0x38]
mov ecx, esi
push dword [ebx + 4]
call dword [0x1009e2c4]
call esi
mov esi, dword [esp + 0x44]
jmp 0x10048881
cmp dword [ebx + 0x50], 0
je 0x10048883
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1004ce5c
pop ecx
pop ecx
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x48], eax
test eax, eax
je 0x10048720
mov edi, eax
mov ecx, dword [ebx + 0x68]
mov eax, edi
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x100488b7
mov eax, dword [edi]
push dword [eax]
push dword [ebx + 4]
call dword [0x1009e2c4]
call dword [esp + 0x50]
mov eax, dword [esi + 0x2c]
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x174]
mov dword [edi + 4], eax
mov dword [ebx + 0x174], edi
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov edi, dword [esi + 0x2c]
test edi, edi
jne 0x10048894
mov edi, dword [ebp + 8]
jmp 0x10048720
push dword [ebp + 0xc]
mov esi, dword [edi + 0x28]
mov ecx, esi
push edi
call dword [0x1009e2c4]
call esi
pop ecx
pop ecx
test eax, eax
js 0x10048b55
xor ecx, ecx
cmp dword [ebx + 0x3c], ecx
je 0x1004891e
lea edx, [esp + 0x4c]
mov ecx, eax
lfence
call fcn.100596ff
mov esi, dword [ebx + 0x3c]
push eax
mov eax, edx
jmp 0x100482a2
cmp dword [ebx + 0x50], ecx
je 0x10048ab0
lfence
jmp 0x10048a9e
mov esi, dword [ebx + 0x3c]
test esi, esi
je case.default.0x10048242
push 0xa
pop eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x10]
jmp 0x100482a0
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x48], eax
test eax, eax
je 0x10048967
push dword [ebx + 4]
mov ecx, eax
call dword [0x1009e2c4]
call dword [esp + 0x4c]
jmp 0x1004897e
cmp dword [ebx + 0x50], 0
je 0x1004897f
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1004ce5c
pop ecx
pop ecx
push dword [ebp + 0x1c]
lea eax, [esp + 0x1c]
mov edx, edi
push dword [esp + 0x20]
mov ecx, ebx
push dword [ebp + 0x14]
push esi
push eax
call fcn.10049b59
add esp, 0x14
test eax, eax
jne 0x10048cff
cmp dword [esp + 0x18], eax
jne 0x10048ab0
mov dword [ebx + 0x114], 0x10049ae0
jmp 0x10048bc4
mov esi, dword [ebx + 0x3c]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x10048a5b
cmp byte [edi + 0x45], 0
je 0x100489fb
test byte [ebp + 0xc], 1
jne 0x100489fb
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
sar eax, 1
push eax
push dword [ebp + 0xc]
jmp 0x100482a3
cmp eax, 1
je 0x10048ab0
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
push dword [ebx + 0x30]
mov eax, dword [ebx + 0x2c]
mov esi, dword [edi + 0x3c]
mov ecx, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
lea eax, [ebp + 0xc]
push eax
push edi
call dword [0x1009e2c4]
call esi
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [esp + 0x10]
sub eax, dword [ebx + 0x2c]
sar eax, 1
push eax
push dword [ebx + 0x2c]
push dword [ebx + 4]
call dword [0x1009e2c4]
call esi
mov eax, dword [esp + 0x40]
add esp, 0xc
test eax, eax
jne 0x100489e9
jmp 0x10048ab0
cmp dword [ebx + 0x50], 0
jmp 0x10048921
lfence
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1004cd0c
pop ecx
pop ecx
test eax, eax
je 0x10048b11
jmp 0x10048ab0
lfence
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1004cde1
jmp 0x10048a77
cmp dword [ebx + 0x50], 0
je 0x10048ab0
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.1004ce5c
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ebp + 0xc], eax
mov dword [ecx], eax
mov eax, dword [ebx + 0x1dc]
dec eax
sub eax, 1
je 0x10048cec
sub eax, 1
jne 0x100481be
mov eax, dword [esp + 0x18]
jmp 0x10048c19
push 0x15
jmp 0x10048cfe
push 0xf
jmp 0x10048cfe
push 0xc
jmp 0x10048cfe
push 0x18
jmp 0x10048cfe
push 0xb
jmp 0x10048cfe
mov esi, dword [ebx + 0x14]
mov ecx, esi
push edx
call dword [0x1009e2c4]
call esi
pop ecx
xor eax, eax
inc eax
jmp 0x10048cff
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ecx
push dword [esp + 0x20]
push ebx
call fcn.1004bf20
add esp, 0x10
jmp 0x10048cff
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.10048d54
mov eax, esi
jmp 0x10048cff
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push 7
mov dword [ecx], eax
jmp 0x10048cfe
push 0xe
jmp 0x10048cfe
cmp byte [esp + 0x1c], 0
jne 0x10048c16
mov dword [ecx], esi
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x10048b97
push 0xa
pop ecx
mov word [esp + 0x14], cx
lea ecx, [esp + 0x14]
push 1
push ecx
push dword [ebx + 4]
mov ecx, eax
call dword [0x1009e2c4]
call dword [esp + 0x58]
add esp, 0xc
jmp 0x10048baf
cmp dword [ebx + 0x50], 0
je 0x10048baf
lfence
push esi
push dword [ebp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.1004ce5c
pop ecx
pop ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10048be9
cmp dword [ebx + 0x134], eax
jne 0x10048be2
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
jmp 0x10048cff
cmp byte [esp + 0x1c], 0
jne 0x10048c16
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x10048be9
cmp dword [ebx + 0x134], eax
je 0x10048c16
push 0xd
jmp 0x10048cfe
push 3
jmp 0x10048cfe
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 4
mov dword [ecx], eax
jmp 0x10048cfe
cmp byte [esp + 0x1c], 0
jne 0x10048c16
push 5
jmp 0x10048cfe
cmp byte [esp + 0x1c], 0
je 0x10048c20
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x10048bc4
push 6
jmp 0x10048cfe
push 0x11
jmp 0x10048cfe
cmp byte [esp + 0x1c], 0
jne 0x10048c16
cmp dword [ebx + 0x3c], 0
je 0x10048ca0
cmp byte [edi + 0x45], 0
je 0x10048c56
mov ecx, dword [ebp + 0xc]
test cl, 1
jne 0x10048c56
mov eax, esi
sub eax, ecx
sar eax, 1
push eax
lfence
push ecx
jmp 0x10048c8b
lfence
push dword [ebx + 0x30]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
push esi
mov esi, dword [edi + 0x3c]
lea eax, [ebp + 0xc]
push eax
push edi
mov ecx, esi
call dword [0x1009e2c4]
call esi
mov eax, dword [esp + 0x50]
add esp, 0x14
sub eax, dword [ebx + 0x2c]
sar eax, 1
push eax
push dword [ebx + 0x2c]
mov esi, dword [ebx + 0x3c]
mov ecx, esi
push dword [ebx + 4]
call dword [0x1009e2c4]
call esi
add esp, 0xc
jmp 0x10048cb8
cmp dword [ebx + 0x50], 0
je 0x10048cb8
lfence
push esi
push dword [ebp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.1004ce5c
pop ecx
pop ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10048cd0
cmp dword [ebx + 0x134], eax
je 0x10048cdf
mov dword [esp + 0x40], 0xd
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0x40]
jmp 0x10048cff
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x10048bc4
push 0x23
jmp 0x10048cfe
mov edx, str._ABORTING_n
mov ecx, ebx
call fcn.1004e440
push 0x2b
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret