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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [edx]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push esi
add ebx, ecx
mov dword [esp + 0x40], eax
mov eax, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [ebx]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
push edi
push 0
push 0x1a0
test eax, eax
je 0x4bb6dc
mov ecx, eax
call fcn.0044ba80
mov edi, eax
mov dword [esp + 0x24], edi
jmp 0x4bb6e7
call fcn.0044b5f0
mov edi, eax
mov dword [esp + 0x24], eax
add esp, 8
test edi, edi
je 0x4bb6fe
push 0x1a0
push 0
push edi
call fcn.0059d550
add esp, 0xc
mov dword [ebx + 0x1c], edi
test edi, edi
je 0x4bbd77
or word [ebx + 0xa], 0x10
lea esi, [edi + 0x18]
push 0x180
push 0
push esi
call fcn.0059d550
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x4c]
mov ecx, edi
mov dword [edi], eax
mov byte [edi + 9], 0
push 0x2b
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], esi
call fcn.004bcc40
mov ecx, dword [esp + 0x44]
add esp, 4
mov edx, edi
call fcn.004bcef0
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x51], 0
jne 0x4bbd77
mov esi, dword [esp + 0x1c]
or edx, 0xffffffff
or ecx, 0xffffffff
mov dword [esp + 0x30], edx
or edi, 0xffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x14]
sub eax, 1
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], esi
js 0x4bb9cc
mov eax, edx
or eax, ecx
je 0x4bb9c4
movzx eax, word [esi + 0xc]
test eax, 0x1ff
jne 0x4bb913
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
push 0
push 0x198
movlpd qword [esp + 0x18], xmm0
call fcn.0044ba80
mov edi, eax
add esp, 8
test edi, edi
je 0x4bb8f6
or word [esi + 0xa], 0x20
mov eax, 0x400
push 0x180
mov dword [esi + 0x1c], edi
xorps xmm0, xmm0
mov word [esi + 0xc], ax
lea esi, [edi + 0x18]
push 0
push esi
movlpd qword [esp + 0x2c], xmm0
call fcn.0059d550
mov ebx, dword [esp + 0x48]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov ecx, edi
mov eax, dword [ebx]
mov dword [edi], eax
mov byte [edi + 9], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], esi
mov edx, dword [edx]
push 0x2c
call fcn.004bcc40
mov ecx, dword [esp + 0x44]
add esp, 4
mov edx, edi
call fcn.004bcef0
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], ebx
cmp byte [eax + 0x51], 0
jne 0x4bb8c1
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x4bb8c1
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov eax, dword [esi]
movzx eax, byte [eax]
cmp eax, 0x31
je 0x4bb899
cmp eax, 0x35
jb 0x4bb888
cmp eax, 0x39
jbe 0x4bb899
cmp eax, 0x32
je 0x4bb899
cmp eax, 0x2d
je 0x4bb899
cmp word [esi + 0xc], 0x40
jne 0x4bb8b7
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + 0x1e8]
call fcn.004bd1d0
mov ecx, dword [esp + 0x20]
or ecx, eax
or ebx, edx
mov dword [esp + 0x20], ecx
add esi, 0x30
sub edi, 1
jne 0x4bb874
jmp 0x4bb8c9
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
and edx, ecx
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
and ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], edi
jmp 0x4bb9aa
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], edi
jmp 0x4bb9aa
movzx eax, word [esi + 0xa]
test al, 8
jne 0x4bb9a6
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x14]
add ecx, 0x1e8
call fcn.004bd1d0
mov edi, eax
mov ebx, edx
movzx eax, word [esi + 0xa]
test al, 2
je 0x4bb967
mov esi, dword [esi + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea esi, [esi + esi*2]
mov edx, dword [eax + 0x14]
add esi, esi
lea ecx, [ecx + 0x1e8]
mov edx, dword [edx + esi*8 + 0x14]
call fcn.004bd1d0
mov esi, dword [esp + 0x38]
or edi, eax
or ebx, edx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
and edx, edi
movzx eax, word [esi + 0xc]
and ecx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
test al, 2
jne 0x4bb99e
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edi
jmp 0x4bb9aa
and dword [esp + 0x10], edi
and dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
add esi, 0x30
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], eax
test eax, eax
jns 0x4bb7a4
jmp 0x4bb9c8
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
mov eax, 0x200
mov dword [esi + 0x198], edx
or edx, ecx
mov dword [esi + 0x19c], ecx
mov word [ebx + 0xc], ax
je 0x4bbaa0
mov eax, dword [esp + 0x3c]
mov byte [eax + 9], 1
cmp dword [esi + 0xc], 2
jne 0x4bbaa0
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x14]
mov edi, 0x400
cmp word [eax + 0xc], di
je 0x4bba1a
xor ebx, ebx
test ecx, ecx
cmove ebx, eax
jmp 0x4bba2b
mov ebx, dword [eax + 0x1c]
cmp ecx, dword [ebx + 0xc]
jge 0x4bba29
mov ebx, dword [ebx + 0x14]
add ebx, edx
jmp 0x4bba2b
xor ebx, ebx
inc ecx
add edx, 0x30
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edx
test ebx, ebx
je 0x4bba9c
xor esi, esi
xor edi, edi
nop
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x14]
mov eax, 0x400
add ecx, 0x30
cmp word [ecx + 0xc], ax
je 0x4bba5e
xor eax, eax
test esi, esi
cmove eax, ecx
jmp 0x4bba6f
mov eax, dword [ecx + 0x1c]
cmp esi, dword [eax + 0xc]
jge 0x4bba6d
mov eax, dword [eax + 0x14]
add eax, edi
jmp 0x4bba6f
xor eax, eax
inc esi
add edi, 0x30
test eax, eax
je 0x4bba8b
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push eax
push ebx
call fcn.004bb570
add esp, 8
jmp 0x4bba40
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
jmp 0x4bba03
mov edi, dword [esp + 0x10]
mov eax, edi
or eax, dword [esp + 0x20]
je 0x4bbd77
xor eax, eax
mov edx, 0xffbf
or ecx, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ecx
nop
test eax, eax
jne 0x4bbc1f
mov ebx, dword [esi + 0xc]
sub ebx, 1
mov edi, dword [esi + 0x14]
js 0x4bbd77
and word [edi + 0xa], dx
mov edx, dword [edi + 0x14]
cmp edx, ecx
je 0x4bbb25
mov ecx, dword [esp + 0x28]
xor eax, eax
mov esi, dword [ecx + 0x1ec]
test esi, esi
jle 0x4bbb04
add ecx, 0x1f0
cmp dword [ecx], edx
je 0x4bbb38
inc eax
add ecx, 4
cmp eax, esi
jl 0x4bbaf8
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
and ecx, dword [esp + 0x10]
and edx, dword [esp + 0x20]
or ecx, edx
jne 0x4bbb4f
mov ecx, dword [esp + 0x38]
add edi, 0x30
sub ebx, 1
js 0x4bbd77
mov edx, 0xffbf
jmp 0x4bbad7
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x4bbb15
mov eax, dword [edi + 0x14]
lea esi, [edi + 0xa]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0xc]
mov eax, 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
test eax, eax
je 0x4bbbf8
mov edi, dword [esp + 0x38]
cmp dword [esi + 0xa], edi
je 0x4bbb8d
mov ecx, 0xffbf
and word [esi], cx
jmp 0x4bbbe4
cmp dword [esi + 0x12], ecx
jne 0x4bbbde
cmp ecx, 0xfffffffe
jne 0x4bbbb0
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push edx
mov edx, dword [esi - 0xa]
mov edx, dword [edx + 0xc]
call fcn.00487820
add esp, 8
test eax, eax
jne 0x4bbbde
mov ecx, dword [esi - 0xa]
mov ecx, dword [ecx + 0x10]
call fcn.00480400
mov ecx, dword [esi - 0xa]
movsx edi, al
mov ecx, dword [ecx + 0xc]
call fcn.00480400
movsx eax, al
test edi, edi
je 0x4bbbd4
cmp edi, eax
jne 0x4bbbde
or word [esi], 0x40
mov eax, dword [esp + 0x34]
jmp 0x4bbbe4
xor eax, eax
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x50]
add esi, 0x30
sub ebx, 1
mov edx, dword [esp + 0x30]
jns 0x4bbb72
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
inc edx
mov esi, dword [esp + 0x1c]
cmp edx, 2
mov dword [esp + 0x48], edx
mov edx, 0xffbf
jl 0x4bbac0
test eax, eax
je 0x4bbd77
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov esi, dword [esi + 0x14]
xor edx, edx
mov edi, dword [eax + 0xc]
sub edi, 1
js 0x4bbc8d
test byte [esi + 0xa], 0x40
je 0x4bbc6d
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4bbc53
mov ecx, dword [esp + 0x2c]
push 0
push 0
call fcn.00481720
add esp, 8
jmp 0x4bbc55
xor eax, eax
push eax
mov eax, dword [esp + 0x2c]
mov edx, ebx
mov ecx, dword [eax]
call fcn.004822a0
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esi, 0x30
sub edi, 1
jns 0x4bbc32
test edx, edx
je 0x4bbc8d
mov ecx, dword [esp + 0x2c]
push 0
push 0
call fcn.00481720
add esp, 8
mov edi, eax
jmp 0x4bbc8f
xor edi, edi
mov eax, dword [esp + 0x44]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.0044ba80
mov esi, eax
add esp, 8
test esi, esi
je 0x4bbd57
push 0x34
push 0
push esi
call fcn.0059d550
add esp, 0xc
mov byte [esi], 0x31
or eax, 0xffffffff
mov edx, esi
mov word [esi + 0x22], ax
push 0
push edi
mov edi, dword [esp + 0x4c]
mov ecx, dword [edi]
call fcn.004810c0
mov eax, dword [edi]
add esp, 8
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4bbcee
push eax
push str.SCopy
push edi
call fcn.0044ed00
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov edx, esi
push 3
mov eax, dword [ecx + 4]
and eax, 1
or dword [esi + 4], eax
movzx eax, word [ecx + 0x24]
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x40]
mov ecx, ebx
mov word [esi + 0x24], ax
call fcn.004badf0
mov ecx, dword [esp + 0x44]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.004bc070
mov eax, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov ecx, dword [ebp + 8]
add edx, edx
mov esi, dword [esp + 0x60]
add esp, 4
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
movzx eax, word [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [eax + esi + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4bbd68
mov eax, dword [esp + 0x44]
mov edx, edi
mov ecx, dword [eax]
call fcn.00481520
test ebx, ebx
je 0x4bbd77
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.00482600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret