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

Disassembly:
push 0xffffffffffffffff
push 0x538548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0x14], ebp
mov eax, dword [ebp + 0x808]
mov dword [eax + 0x254], 1
mov ecx, dword [ebp + 0x808]
xor ebx, ebx
mov dword [ecx + 0x264], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], ebx
call fcn.0050af1a
mov esi, dword [esp + 0x80]
push ebx
push ebx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 1
call fcn.0050b262
test eax, eax
jne 0x47eb34
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x18]
push 0x558120
push eax
call fcn.00404c20
add esp, 0xc
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x84], 2
call fcn.00515e6f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x78], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47eaee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0
call fcn.0050af59
lea eax, [esi - 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47eb1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 4
push edi
push ebx
push 0x1000
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.0050f218
mov byte [esp + 0x7c], 3
or esi, 0xffffffff
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x84], 4
call fcn.0040f1d0
mov edi, dword [esp + 0x14]
push 0x558118
push edi
call fcn.004ea679
add esp, 8
test eax, eax
jne 0x47eb9a
mov esi, 1
jmp 0x47ebd5
push 0x558108
push edi
call fcn.004ea679
add esp, 8
test eax, eax
jne 0x47ebb3
mov esi, 2
jmp 0x47ebd5
push 0x5580f8
push edi
call fcn.004ea679
add esp, 8
test eax, eax
jne 0x47ebd5
mov edx, dword [ebp + 0x808]
mov dword [edx + 0x270], 1
mov eax, dword [ebp + 0x808]
lea ecx, [eax + 0x218]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
mov eax, dword [ebp + 0x808]
lea ecx, [eax + 0x204]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
test byte [esp + 0x44], 1
jne 0x47ec14
mov eax, dword [esp + 0x40]
push eax
push 4
call fcn.0050f48b
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
lea edx, [ecx + 4]
cmp edx, eax
jbe 0x47ec32
sub ecx, eax
add ecx, 4
push ecx
lea ecx, [esp + 0x30]
call fcn.0050ebfd
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 0x808]
add edx, 4
mov dword [esp + 0x54], edx
mov dword [eax + 0x254], ebx
mov ecx, dword [ebp + 0x808]
mov eax, esi
sub eax, 2
mov dword [ecx + 0x264], 1
jne 0x47ed37
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040f1d0
push 1
lea ecx, [esp + 0x17]
push ecx
lea ecx, [esp + 0x34]
call fcn.0050ea59
mov eax, dword [ebp + 0x808]
mov ecx, dword [eax + 0x20c]
test ecx, ecx
jle 0x47ed31
test ebx, ebx
jl 0x47edc1
cmp ebx, dword [eax + 0x20c]
jge 0x47edc1
mov edx, dword [eax + 0x208]
mov ebp, dword [edx + ebx*4]
lea eax, [edx + ebx*4]
mov eax, dword [ebp + 0x14]
xor esi, esi
test eax, eax
jle 0x47ed16
test esi, esi
jl 0x47edc1
cmp esi, dword [ebp + 0x14]
jge 0x47edc1
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + esi*4]
lea eax, [eax + esi*4]
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x47ecfc
push 0x2400
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
je 0x47ecfc
push eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov dword [edi + 0x38], eax
mov ecx, dword [edi + 0x38]
push 0x2400
push ecx
lea ecx, [esp + 0x34]
call fcn.0050ea59
mov eax, dword [ebp + 0x14]
inc esi
cmp esi, eax
jl 0x47ecc0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x808]
mov ecx, dword [eax + 0x20c]
inc ebx
cmp ebx, ecx
jl 0x47ec97
mov ebp, edx
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov eax, dword [ebp + 0x808]
mov dword [eax + 0x270], ebx
lea eax, [edi - 0x10]
mov byte [esp + 0x7c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ed62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 1
call fcn.0050f1d3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call fcn.0050af59
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47eda7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4
call fcn.004fd76e
int3