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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
cld
mov esi, 0x52237c
mov ecx, 5
lea edi, [esp + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
xor ebp, ebp
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
mov al, byte [0x522390]
mov byte [edi], al
mov cl, 0xa
lea edi, [esp + 0x25]
mov eax, ebp
rep stosd dword es:[edi], eax
mov word [edi], 0
mov byte [edi + 2], 0
mov edi, dword [0x538bc0]
test edi, edi
mov dl, byte [esp + 0x78]
je 0x48fb7a
mov ecx, dword [0x538bb0]
test ecx, ecx
jne 0x48fbe0
mov ebx, dword [0x538b30]
test ebx, ebx
je 0x48fc20
sub esp, 0xc
push 0x291
push 0x522289
push 0x75
push 0x6a
mov ecx, dword [0x538b30]
push ecx
call fcn.0045dc30
add esp, 0x20
mov edi, dword [esp + 8]
test edi, edi
je 0x48fbc0
sub esp, 0xc
mov eax, dword [esp + 0x14]
push eax
call fcn.0046cae0
add esp, 0x10
test ebp, ebp
je 0x48fbd0
sub esp, 0xc
push ebp
call fcn.0049b8e0
add esp, 0x10
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
movsx eax, dl
cmp eax, 1
je 0x48fd7f
cmp eax, 2
je 0x48fc30
mov edx, dword [0x538b30]
test edx, edx
je 0x48fd70
sub esp, 0xc
push 0x2ec
push 0x522289
push pe_nt_image_headers32
jmp 0x48fb97
call fcn.0045dd50
mov dword [0x538b30], eax
jmp 0x48fb88
sub esp, 0xc
push ebx
call fcn.0049b6d0
add esp, 0xc
mov ecx, dword [esp + 0x74]
push ecx
mov ebx, dword [0x4ffa84]
push ebx
push eax
mov ebp, eax
call fcn.0049baf0
call fcn.00477400
mov dword [ebp + 0x18], eax
call fcn.00477400
mov dword [ebp + 0xc], eax
call fcn.00477400
mov dword [ebp + 0x10], eax
call fcn.00477400
mov dword [ebp + 0x14], eax
pop eax
pop edx
mov ebx, dword [esp + 0x7c]
shr ebx, 2
push ebx
mov eax, dword [ebp + 0x18]
push eax
call fcn.00477470
pop esi
pop edi
push ebx
mov esi, dword [ebp + 0xc]
push esi
call fcn.00477470
pop eax
pop edx
push 5
mov edx, dword [ebp + 0x10]
push edx
call fcn.00477470
pop edi
pop eax
push ebx
mov edi, dword [ebp + 0x14]
push edi
call fcn.00477470
mov eax, dword [ebp + 0x18]
add esp, 0x10
test eax, eax
je 0x48fba8
mov edx, dword [eax + 8]
cmp edx, ebx
jne 0x48fba8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x48fba8
mov ebx, dword [ecx + 8]
cmp ebx, edx
jne 0x48fba8
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x48fba8
cmp dword [edx + 8], 5
jne 0x48fba8
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x48fba8
mov edi, dword [esi + 8]
cmp edi, ebx
jne 0x48fba8
push ebx
mov esi, dword [esi]
push esi
mov ebx, dword [edx]
push ebx
mov esi, dword [ecx]
push esi
mov ecx, dword [eax]
push ecx
mov ebx, dword [esp + 0x88]
push ebx
mov eax, dword [esp + 0x24]
push eax
lea edx, [esp + 0x2c]
push edx
call dword [0x538bb0]
add esp, 0x14
push eax
mov esi, eax
mov edx, 0x6a
lea eax, [esp + 0x20]
call fcn.0048f1b0
add esp, 0x10
dec esi
je 0x48feed
mov edi, dword [0x538b30]
test edi, edi
jne 0x48fd59
call fcn.0045dd50
mov dword [0x538b30], eax
sub esp, 0xc
push 0x2d7
push 0x522289
push 0x81
jmp 0x48fb97
call fcn.0045dd50
mov dword [0x538b30], eax
jmp 0x48fbff
sub esp, 0xc
push ebx
call fcn.0046c8b0
mov dword [esp + 0x18], eax
add esp, 0xc
mov esi, dword [esp + 0x74]
push esi
mov edi, dword [0x4ffa80]
push edi
push eax
call fcn.0046ccf0
mov edx, dword [esp + 0x18]
or dword [edx + 0x3c], 0x20
call fcn.00477400
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x14], eax
call fcn.00477400
mov dword [ebx + 0x10], eax
pop edi
pop eax
mov ebx, dword [esp + 0x7c]
shr ebx, 2
push ebx
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x14]
push esi
call fcn.00477470
pop edx
pop ecx
push ebx
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
push edi
call fcn.00477470
add esp, 0x10
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48fba8
mov edx, dword [eax + 8]
cmp edx, ebx
jne 0x48fba8
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x48fba8
mov esi, dword [ecx + 8]
cmp esi, edx
jne 0x48fba8
sub esp, 0xc
mov edi, dword [eax]
push edi
mov ebx, dword [ecx]
push ebx
mov edx, dword [esp + 0x88]
push edx
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push eax
call dword [0x538bc0]
add esp, 0x14
push eax
mov edi, eax
mov edx, 0x6a
lea eax, [esp + 0x20]
call fcn.0048f1b0
add esp, 0x10
dec edi
jne 0x48fecc
mov ebp, dword [esp + 8]
mov ecx, dword [ebp + 0x14]
test esi, esi
mov dword [ecx + 4], esi
jle 0x48fe7e
mov eax, dword [ecx]
lea edx, [eax + esi*4 - 4]
mov ebx, dword [edx]
sub edx, 4
test ebx, ebx
jne 0x48fe7e
mov edi, dword [ecx + 4]
dec edi
test edi, edi
mov dword [ecx + 4], edi
jg 0x48fe6a
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x74]
shr edx, 2
test edx, edx
mov dword [ecx + 4], edx
jle 0x48fead
mov esi, dword [ecx]
lea edx, [esi + edx*4 - 4]
mov ebp, dword [edx]
sub edx, 4
test ebp, ebp
jne 0x48fead
mov eax, dword [ecx + 4]
dec eax
test eax, eax
mov dword [ecx + 4], eax
jg 0x48fe99
call fcn.00462120
push edi
mov ecx, dword [esp + 0xc]
push ecx
mov ebx, eax
push 6
push ebx
call fcn.00462490
add esp, 0x10
mov eax, ebx
jmp 0x48fbd2
mov esi, dword [0x538b30]
test esi, esi
jne 0x48fee0
call fcn.0045dd50
mov dword [0x538b30], eax
sub esp, 0xc
push 0x2ab
jmp 0x48fd61
mov ecx, dword [ebp + 0x18]
test edi, edi
mov dword [ecx + 4], edi
jle 0x48ff14
mov eax, dword [ecx]
lea edx, [eax + edi*4 - 4]
jmp 0x48ff0b
mov esi, dword [ecx + 4]
dec esi
test esi, esi
mov dword [ecx + 4], esi
jle 0x48ff14
mov ebx, dword [edx]
sub edx, 4
test ebx, ebx
je 0x48ff00
mov edx, dword [esp + 0x74]
shr edx, 2
mov ecx, dword [ebp + 0xc]
test edx, edx
mov dword [ecx + 4], edx
jle 0x48ff44
mov edi, dword [ecx]
lea edx, [edi + edx*4 - 4]
jmp 0x48ff3b
mov ebx, dword [ecx + 4]
dec ebx
test ebx, ebx
mov dword [ecx + 4], ebx
jle 0x48ff44
mov eax, dword [edx]
sub edx, 4
test eax, eax
je 0x48ff30
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
add ecx, 0x10
mov dword [edx + 4], 5
jmp 0x48ff6b
mov edi, dword [edx + 4]
dec edi
test edi, edi
mov dword [edx + 4], edi
jle 0x48ff74
mov esi, dword [ecx]
sub ecx, 4
test esi, esi
je 0x48ff60
mov edx, dword [esp + 0x74]
shr edx, 2
mov ecx, dword [ebp + 0x14]
test edx, edx
mov dword [ecx + 4], edx
jle 0x48ffa4
mov eax, dword [ecx]
lea edx, [eax + edx*4 - 4]
jmp 0x48ff9b
mov esi, dword [ecx + 4]
dec esi
test esi, esi
mov dword [ecx + 4], esi
jle 0x48ffa4
mov ebx, dword [edx]
sub edx, 4
test ebx, ebx
je 0x48ff90
call fcn.00462120
mov ebx, eax
push eax
push ebp
push 0x74
jmp 0x48febc