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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8d4c
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1025e344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x88], 0
call fcn.10048df0
test eax, eax
jne 0x10048648
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x1004828e
push 0x3c
call fcn.100cff51
add esp, 4
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10048282
mov ecx, eax
call fcn.100ae2f0
jmp 0x10048284
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x14], eax
mov byte [eax + 8], 0
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
mov eax, dword [edi + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
cmp ebx, eax
mov dword [ebp - 0x90], eax
je 0x100485c5
lea eax, [ebp - 0x64]
mov dword [ebp - 0x8c], eax
lea esi, [edi + 0x18]
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 2
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x60]
call fcn.10018090
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x48], eax
lea eax, [ebx + 0x20]
push eax
call fcn.10018090
mov byte [ebp - 4], 4
lea eax, [ebx + 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10018090
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.100079d0
lea eax, [ebp - 0x60]
lea ecx, [esi + 4]
cmp ecx, eax
je 0x10048344
cmp dword [ebp - 0x4c], 0x10
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.10014280
mov eax, dword [ebp - 0x48]
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x10048365
cmp dword [ebp - 0x30], 0x10
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10014280
lea ecx, [esi + 0x38]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x10048380
cmp dword [ebp - 0x18], 0x10
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10014280
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 8
call fcn.100049d0
test eax, eax
je 0x10048669
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1000efa0
add esp, 4
mov esi, esp
mov dword [ebp - 0x8c], esp
mov dword [ebp - 0x94], esi
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
call fcn.1000e000
push 0xfde9
push dword [ebp - 0x84]
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100d15d0
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 0xd
cmp dword [ecx + 0x14], 0x10
jb 0x1004842a
mov ecx, dword [ecx]
lea eax, [edi + 0x9c]
push eax
push 0x10200560
push ecx
call fcn.100819e0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x10048477
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004846d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048664
push edx
push ecx
call fcn.100cff81
add esp, 8
cmp dword [edi + 0x30], 0x10
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
jb 0x10048494
mov ecx, dword [ecx]
lea eax, [edi + 0x6c]
push eax
push 0x10200948
push ecx
call fcn.100819e0
lea ecx, [edi + 0x38]
add esp, 0xc
cmp dword [ecx + 0x14], 0x10
jb 0x100484b1
mov ecx, dword [ecx]
lea eax, [edi + 0x78]
push eax
push 0x10200948
push ecx
call fcn.100819e0
add esp, 8
mov esi, esp
mov dword [ebp - 0x8c], esp
mov dword [ebp - 0x98], esi
call fcn.100049d0
test eax, eax
je 0x10048669
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
mov ecx, esi
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x1004850c
push 0
push 0x101fe8a0
mov ecx, esi
call fcn.10006ab0
mov byte [ebp - 4], 0xf
push 0
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.10047600
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004853c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004855e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.10007910
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x44]
call fcn.10007910
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.10007910
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100485b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0x54
cmp ebx, dword [ebp - 0x90]
jmp 0x100482ae
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x70]
push eax
call fcn.1002a370
mov dword [ebp - 4], 0x17
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x88], 1
test ecx, 0xfffffffc
je 0x100485fe
mov ecx, edi
call fcn.10048df0
test eax, eax
jne 0x100485fe
mov bl, 1
jmp 0x10048600
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x70]
and eax, 0xfffffffe
mov dword [ebp - 0x88], eax
call fcn.10019380
test bl, bl
je 0x10048634
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x40], eax
jmp 0x10048648
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x10048641
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d02f2
mov esp, ebp
pop ebp
ret
call fcn.101a3dde
push 0x80004005
call fcn.10004040
int3