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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c9ada
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x28d4], 0
push edi
je 0x4ed76d
cmp dword [esi + 0x14], 0
je 0x4ecd6f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4eccdf
mov eax, dword [ecx]
mov edx, dword [eax + 0x144]
call edx
test al, al
je 0x4ecd52
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x134]
push 0x10001
push eax
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0044b580
add esp, 0x10
push eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
call fcn.00498070
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4ecd48
mov ebx, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ecd48
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ecd48
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
cmp dword [esi + 4], 0
je 0x4ed76d
fldz
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x14]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
push edi
call fcn.0058a750
jmp 0x4ece60
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
test ecx, ecx
je 0x4ece60
mov eax, dword [ecx]
mov edx, dword [eax + 0x144]
call edx
test al, al
je 0x4ece60
cmp dword [esi + 0x1d8], 0
lea edx, [ebp - 0x14]
jne 0x4ecdf4
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x134]
push 0x10001
push eax
push ecx
push edx
call fcn.0044b580
add esp, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00498070
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0044b460
mov ecx, dword [edi]
test ecx, ecx
je 0x4ece26
mov edx, dword [esi + 0x1e4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
push pe_nt_image_headers32
push 0
push edx
push 0
call eax
jmp 0x4ece26
push 0
push 1
lea ecx, [esi + 0x1c8]
push ecx
push edx
call fcn.004771a0
add esp, 0x10
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00498070
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0044b460
cmp dword [edi], 0
je 0x4ed76d
mov eax, dword [esi + 0x1fc]
mov ecx, dword [esi + 0x1f8]
mov edx, dword [esi + 0x1f4]
push eax
mov eax, dword [esi + 0x1f0]
push ecx
push edx
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.00467fa0
mov ecx, esi
call fcn.004ec900
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, esi
call fcn.004f77b0
mov eax, dword [0x68d9f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x68d9f8
call edx
mov ecx, dword [0x68a3ec]
mov ecx, dword [ecx + 0xa0]
mov edx, dword [0x68dae0]
add ecx, eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x60], ecx
mov ecx, 0x68dae0
call eax
mov ecx, dword [0x68a3ec]
mov ecx, dword [ecx + 0xa4]
add ecx, eax
test byte [esi + 0x1e8], 0xc0
mov dword [ebp - 0x58], ecx
je 0x4eced2
mov dword [ebp - 0x54], pe_nt_image_headers32
jmp 0x4ecf02
mov edx, dword [0x68d910]
mov eax, dword [edx + 0xc]
mov ecx, 0x68d910
call eax
mov edx, dword [esi + 0x928]
lea ecx, [esi + 0x928]
mov edi, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, eax
mov eax, edi
shl eax, 8
cdq
idiv ecx
mov dword [ebp - 0x54], eax
mov ecx, esi
call fcn.004f7500
mov ecx, esi
mov dword [ebp - 0x30], eax
call fcn.004f7550
mov edx, dword [esi + 0xd9c]
lea ecx, [esi + 0xd9c]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x1000000
and eax, 0x8000ffff
jns 0x4ecf3a
dec eax
or eax, 0xffff0000
inc eax
mov edx, dword [esi + 0x1048]
lea ecx, [esi + 0x1048]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x1000000
and eax, 0x8000ffff
jns 0x4ecf61
dec eax
or eax, 0xffff0000
inc eax
mov edx, dword [esi + 0x12f4]
lea ecx, [esi + 0x12f4]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x1000000
and eax, 0x8000ffff
jns 0x4ecf88
dec eax
or eax, 0xffff0000
inc eax
mov edx, dword [esi + 0x1dbc]
lea ecx, [esi + 0x1dbc]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0xc]
call eax
cmp dword [esi + 0x1bf0], 4
lea edi, [eax + 1]
mov dword [ebp - 0x4c], edi
jg 0x4ecfd5
mov edx, dword [esi + 0x1bf4]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1bf4]
call eax
test eax, eax
je 0x4ecfd5
mov edx, dword [esi + 0x1cd8]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1cd8]
call eax
test eax, eax
jne 0x4ecfdf
mov dword [ebp - 0x4c], 1
mov edi, dword [ebp - 0x4c]
mov edx, dword [esi + 0x15a0]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x15a0]
mov dword [ebp - 0x3c], 0
call eax
test eax, eax
jle 0x4ed03a
mov eax, dword [esi + 0x1768]
test eax, eax
jne 0x4ed013
mov ecx, dword [esi + 0x134]
cmp ecx, dword [0x68a6f4]
je 0x4ed026
cmp eax, 1
jne 0x4ed03a
mov ecx, dword [esi + 0x138]
cmp ecx, dword [0x68a6f8]
jne 0x4ed03a
mov edx, dword [esi + 0x15a0]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x15a0]
call eax
mov dword [ebp - 0x3c], eax
cmp byte [esi + 0x28d3], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0xa0], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], edx
je 0x4ed118
mov eax, dword [esi + 0x26e4]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x26e4]
call edx
lea ecx, [esi + 0x2600]
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
lea ecx, [esi + 0x251c]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
lea ecx, [esi + 0x2438]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esi + 0x160]
add edi, ecx
add edi, ebx
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x38]
fild dword [ebp - 0x1c]
add edi, dword [esi + 0x15c]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
add edi, eax
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x34]
add edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
fstp dword [esp + 0xc]
add edi, ebx
fild dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x40]
add edi, dword [esi + 0x15c]
fstp dword [esp + 8]
fild dword [ebp - 0x1c]
add edi, eax
mov eax, dword [edx + 0x118]
mov dword [ebp - 0x1c], edi
fstp dword [esp + 4]
fild dword [ebp - 0x1c]
fstp dword [esp]
call eax
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x28]
jge 0x4ed566
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x64]
jge 0x4ed551
xor edx, edx
lea ebx, [ebx]
mov dword [ebp - 0x2c], edx
cmp edi, edx
jle 0x4ed53f
jmp 0x4ed150
mov eax, dword [esi + 0x1bf0]
lea ecx, [eax + eax*4]
shl ecx, 4
cmp dword [ecx + 0x61b760], 0xfffffc19
mov dword [ebp - 0x40], edx
je 0x4ed52d
nop
mov eax, dword [esi + 0x148]
or eax, dword [esi + 0x1ec]
mov edx, dword [esi + 0x2244]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x1c]
lea ecx, [esi + 0x2244]
call eax
mov edx, dword [esi + 0x2160]
lea ecx, [esi + 0x2160]
test al, al
mov eax, dword [edx + 0xc]
jne 0x4ed1ca
call eax
mov edx, dword [esi + 0x2244]
mov ebx, eax
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x2244]
call eax
imul eax, ebx
cdq
and edx, 0xff
lea edi, [edx + eax]
sar edi, 8
jmp 0x4ed1ce
call eax
mov edi, eax
cmp dword [ebp - 0x2c], 0
jne 0x4ed1e2
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov dword [ebp + 0xc], edx
jmp 0x4ed2e1
mov edx, dword [esi + 0x1bf4]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1bf4]
call eax
mov edx, dword [esi + 0x1bf4]
mov dword [ebp + 0x10], eax
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1bf4]
call eax
mov edx, dword [esi + 0x1dbc]
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1dbc]
call eax
mov ecx, eax
mov eax, dword [ebp - 0x2c]
dec eax
imul eax, dword [ebp + 0xc]
cdq
idiv ecx
lea ecx, [esi + 0x1cd8]
mov edx, eax
mov eax, dword [ebp + 0x10]
sub eax, edx
imul eax, edi
cdq
and edx, 0xff
lea edi, [edx + eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
sar edi, 8
call edx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x1dbc]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x1dbc]
call edx
mov edx, dword [ebp - 0x40]
mov ecx, eax
mov eax, dword [esi + 0x1bf0]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*2]
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp - 0x2c]
cdq
idiv ecx
mov edx, dword [esi + 0x1cd8]
mov ecx, eax
imul ecx, dword [ebx*8 + 0x61b760]
mov eax, dword [ebp - 0x38]
sub eax, ecx
lea ecx, [esi + 0x1cd8]
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [esi + 0x1dbc]
lea ecx, [esi + 0x1dbc]
mov ebx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, eax
mov eax, dword [esi + 0x1bf0]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x40]
lea eax, [eax + edx*2]
mov dword [ebp + 0x10], eax
mov eax, ebx
imul eax, dword [ebp - 0x2c]
cdq
idiv ecx
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
imul eax, dword [ecx*8 + 0x61b764]
sub ebx, eax
cmp dword [esi + 4], 0
mov dword [ebp + 0x10], ebx
je 0x4ed38e
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4ed35a
cmp dword [ebp - 0x44], eax
jne 0x4ed35a
cmp dword [ebp - 0x48], eax
jne 0x4ed35a
mov eax, dword [ebp - 0x54]
cmp eax, 0x100
jne 0x4ed32e
cmp dword [ebp - 0x30], eax
jne 0x4ed32e
cmp dword [ebp - 0x24], eax
jne 0x4ed32e
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
push edi
push ecx
mov ecx, dword [ebp + 8]
push eax
push ebx
push edx
push ecx
mov ecx, esi
call fcn.004e9d70
jmp 0x4ed4fe
mov ecx, dword [ebp - 0x20]
push edi
push ecx
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x58]
push eax
push ecx
push ebx
push edx
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.004ec300
jmp 0x4ed4fe
mov ecx, dword [ebp - 0x20]
push edi
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp + 8]
push eax
push ebx
push edx
push ecx
mov ecx, esi
call fcn.004e9b40
jmp 0x4ed4fe
mov ecx, dword [esi + 0x1a8]
test ecx, ecx
je 0x4ed3ed
test byte [esi + 0x1e8], 4
fild dword [ebp + 0x10]
push edi
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
je 0x4ed3cc
mov eax, dword [ebp - 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
mov eax, dword [ebp + 8]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
push eax
call edx
jmp 0x4ed4fe
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push edx
mov edx, dword [ebp + 8]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
push edx
call eax
jmp 0x4ed4fe
cmp dword [esi + 0xc], 0
je 0x4ed4fe
cmp dword [ebp - 0x50], 0
jne 0x4ed453
cmp dword [ebp - 0x44], 0
jne 0x4ed453
cmp dword [ebp - 0x48], 0
jne 0x4ed453
mov eax, dword [ebp - 0x30]
cmp eax, 0x100
jne 0x4ed433
cmp dword [ebp - 0x24], eax
jne 0x4ed433
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
push edi
push ecx
mov ecx, dword [ebp + 8]
push eax
push ebx
push edx
push ecx
mov ecx, esi
call fcn.004ea590
jmp 0x4ed4fe
mov ecx, dword [ebp - 0x20]
push edi
push ecx
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x24]
push ecx
push eax
push ebx
push edx
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.004ea130
jmp 0x4ed4fe
mov eax, dword [esi + 0x28ac]
mov ecx, eax
imul ecx, dword [ebp - 0x30]
sar ecx, 8
sub eax, ecx
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x28b0]
mov edx, eax
imul edx, dword [ebp - 0x24]
sar edx, 8
sub eax, edx
add eax, ebx
test byte [esi + 0x1e8], 4
mov dword [ebp - 0x18], eax
push edi
fild dword [ebp - 0x18]
je 0x4ed4c6
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x30]
push eax
mov eax, dword [esi + 0x13c]
push ecx
mov ecx, dword [ebp + 8]
push edx
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0x1c]
fstp dword [esp]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call fcn.005ac070
jmp 0x4ed4fe
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x30]
push edx
mov edx, dword [esi + 0x13c]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esi + 0xc]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0x1c]
fstp dword [esp]
push edx
push eax
call fcn.005abd60
cmp dword [ebp - 0x2c], 0
je 0x4ed528
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0x1bf0]
inc ecx
lea edx, [eax + eax*4]
lea eax, [ecx + edx*2]
cmp dword [eax*8 + 0x61b760], 0xfffffc19
mov dword [ebp - 0x40], ecx
jne 0x4ed170
mov edi, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, edi
jl 0x4ed150
mov ecx, dword [ebp - 0x34]
add ecx, dword [esi + 0x138]
mov dword [ebp - 0x34], ecx
cmp ecx, dword [ebp - 0x64]
jl 0x4ed140
mov eax, dword [ebp - 0x38]
add eax, dword [esi + 0x134]
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x28]
jl 0x4ed127
mov edx, dword [esi + 0x27c8]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x27c8]
call eax
test eax, eax
jle 0x4ed755
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4ed755
mov edx, dword [esi + 0x27c8]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x27c8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0x128]
call eax
mov ecx, dword [ebp - 0x28]
cdq
inc ecx
idiv ecx
mov edx, dword [esi + 4]
lea ecx, [esi + 0x27c8]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
mov eax, dword [esi + 0x27c8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
fstp dword [ebp - 0x28]
call edx
mov ecx, dword [ebp - 0x10]
lea edi, [eax + 1]
mov eax, dword [ecx]
mov edx, dword [eax + 0x120]
call edx
cdq
idiv edi
mov ecx, dword [0x68a3d0]
push 0
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
mov eax, dword [esi + 0x138]
add eax, ebx
fstp dword [ebp - 0x10]
fldz
fst dword [ebp - 0x74]
fstp dword [ebp - 0x70]
fld dword [ebp - 0x10]
fstp dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
fld dword [ebp - 0x28]
mov eax, dword [esi + 0x134]
add eax, dword [ebp + 0xc]
fstp dword [ebp - 0x68]
fild dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
fstp dword [ebp - 0x28]
fild dword [ebp - 0x10]
fstp dword [ebp - 0x10]
fild dword [ebp + 0x10]
fstp dword [ebp - 0x18]
fild dword [ebp + 0xc]
fstp dword [ebp - 0x94]
fld dword [ebp - 0x18]
fstp dword [ebp - 0x90]
fld dword [ebp - 0x10]
fstp dword [ebp - 0x8c]
fld dword [ebp - 0x28]
fstp dword [ebp - 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
fld dword [ebp - 0x68]
push 0x10001
call fcn.0052e550
fld dword [ebp - 0x6c]
push eax
call fcn.0052e550
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0044b580
add esp, 0x10
mov edx, dword [esi + 0x138]
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
mov dword [ebp - 4], 3
fstp dword [ebp + 0x10]
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x84]
fstp dword [ebp + 0xc]
push eax
fldz
lea eax, [ebp - 0x74]
fst dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x5c]
fstp dword [ebp - 0x80]
fld dword [ebp + 0xc]
push eax
fstp dword [ebp - 0x7c]
fld dword [ebp + 0x10]
fstp dword [ebp - 0x78]
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
call edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x94]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
cmp dword [0x690010], 0
je 0x4ed70e
call fcn.0058dd40
mov ecx, dword [0x68a3d0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 1
call eax
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4ed755
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ed755
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ed755
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
cmp byte [esi + 0x28d3], 0
je 0x4ed76d
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0059f510
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc