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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp ebx, 0x100
jae 0x481bd4
mov eax, ebx
shr eax, 4
mov eax, dword [edx + eax*4 + 0x20]
lea esi, [edx + 0x60]
mov edx, ebx
and edx, 0xf
test eax, eax
lea edx, [edx + edx*4]
lea eax, [eax + edx*4]
cmove eax, esi
cmp dword [eax + 8], 0
jne 0x481be1
jmp 0x48214c
lea eax, [edx + 0x60]
cmp dword [eax + 8], 0
je 0x48214c
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov edx, dword [eax + 8]
mov dword [esp + 0x64], edx
test edx, edx
je 0x48211a
mov dword [esp + 0x60], eax
mov eax, ebx
shl eax, 0x10
add eax, 0x10000
and eax, 0xff0000
mov dword [esp + 0x5c], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x54], eax
add ecx, 4
mov dword [esp + 0x40], ecx
mov eax, ebx
shr eax, 4
mov dword [esp + 0x50], eax
mov eax, ebx
and eax, 0xf
mov dword [esp + 0x4c], eax
mov eax, ebx
mov byte [esp + 0xf], bl
mov edx, dword [ebp + 0x10]
movzx eax, dx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
add eax, 0xb8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], 0xffffffff
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], 0
jmp 0x481cca
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
shl ecx, 0x18
add ecx, dword [esp + 0x5c]
or ecx, dword [esp + 0x58]
push eax
push edx
push ecx
push str.For_resource_0x_08x__entry_index__d__is_beyond_type_entryCount__d_
push str.ResourceType
push 5
call fcn.00612760
mov edx, dword [ebp + 0x10]
add esp, 0x18
mov ecx, dword [esp + 0x48]
inc ecx
cmp ecx, dword [esp + 0x64]
je 0x4820e4
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x14]
test eax, eax
je 0x481d30
cmp word [eax], 0
je 0x481d30
movzx ecx, word [eax + 6]
cmp cx, dx
ja 0x481cbb
sub edx, ecx
cmp dx, word [eax + 4]
jae 0x4820cf
movzx ecx, dx
mov ecx, dword [eax + ecx*4 + 8]
cmp ecx, 0xffffffff
je 0x4820cf
movzx esi, cx
movzx eax, byte [eax + 2]
dec eax
mov dword [esp + 0x1c], eax
mov al, 1
mov dword [esp + 0x30], eax
mov edx, dword [ebp + 0x10]
jmp 0x481d3e
mov dword [esp + 0x30], 0
mov esi, edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 8]
mov edi, esi
mov dword [esp + 0x24], esi
cmp esi, eax
jae 0x481c90
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x481d6b
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
or ecx, dword [eax + esi*4]
mov dword [esp + 0x18], ecx
jmp 0x481d73
mov dword [esp + 0x18], 0xffffffff
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x38]
lea edi, [eax + 0x18]
mov dword [esp + 0x14], 0
test esi, esi
je 0x481d9f
push 0x40
push esi
push dword [esp + 0x5c]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x481da3
mov edx, dword [ebp + 0x10]
mov ebx, edi
jmp 0x481e18
mov ecx, dword [esp + 0x40]
call fcn.00614110
mov eax, dword [esp + 0x3c]
cmp ebx, 0xff
mov ecx, dword [ebp + 8]
ja 0x481dd4
mov eax, dword [esp + 0x50]
mov eax, dword [ecx + eax*4 + 0x78]
test eax, eax
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
cmove eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0xc]
jae 0x481dfd
mov eax, dword [eax + 8]
mov esi, dword [eax + ecx*8]
test esi, esi
je 0x481dfd
mov eax, dword [eax + ecx*8 + 4]
test eax, eax
je 0x4820d7
mov dword [esp + 0x14], eax
lock inc dword [eax + 4]
jmp 0x481e07
mov dword [esp + 0x14], 0
mov esi, edi
mov ecx, dword [esp + 0x40]
call fcn.00614130
mov ebx, esi
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4820a0
xor edi, edi
mov dword [esp + 0x34], ebx
jmp 0x481e40
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
inc edi
cmp edi, dword [esp + 0x6c]
je 0x4820a0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x481e35
mov dword [esp + 0x10], edi
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
lea eax, [ecx + 0x14]
mov edi, dword [ecx + 0x14]
cmp edi, 0x40
mov dword [esp + 0x28], ecx
jb 0x481eb0
movups xmm0, xmmword [eax + 0x30]
movaps xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [eax + 0x20]
movaps xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esp + 0x80], xmm1
movaps xmmword [esp + 0x70], xmm0
jmp 0x481edc
push edi
push eax
lea eax, [esp + 0x78]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
lea eax, [esp + edi]
add eax, 0x70
mov ecx, 0x40
sub ecx, edi
push ecx
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov edi, dword [esp + 0x10]
mov dword [esp + 0x70], 0x40
test esi, esi
je 0x481f02
lea ecx, [esp + 0x70]
push esi
call fcn.0047deb0
mov ecx, dword [esp + 0x28]
test al, al
je 0x481e32
movzx eax, word [ecx + 2]
add eax, ecx
test byte [ecx + 9], 1
mov esi, dword [ecx + 0xc]
jne 0x481f40
mov ecx, dword [esp + 0x24]
cmp ecx, esi
mov edx, dword [ebp + 0x10]
jae 0x48203d
mov ecx, dword [eax + ecx*4]
cmp ecx, 0xffffffff
mov esi, dword [ebp + 0x14]
je 0x481e35
cmp dword [esp + 0x20], 0
jne 0x481fb3
jmp 0x481fd8
test esi, esi
je 0x481e2f
lea ecx, [eax + esi*4]
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0x24]
nop word cs:[eax + eax]
mov edi, eax
mov ecx, esi
shr ecx, 1
mov edx, ecx
not edx
add edx, esi
cmp word [eax + ecx*4], bx
lea eax, [eax + ecx*4 + 4]
cmovae eax, edi
cmovae edx, ecx
mov esi, edx
test edx, edx
jne 0x481f60
cmp eax, dword [esp + 0x68]
je 0x482045
movzx ecx, word [eax]
cmp dword [esp + 0x24], ecx
jne 0x482045
movzx ecx, word [eax + 2]
shl ecx, 2
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x20], 0
je 0x481fd8
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x70]
push esi
lea eax, [esp + 0xb4]
push eax
call fcn.0047da20
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
test al, al
je 0x482058
movaps xmm0, xmmword [esp + 0xa0]
movaps xmmword [esp + 0xe0], xmm0
movaps xmm0, xmmword [esp + 0x90]
movaps xmmword [esp + 0xd0], xmm0
movaps xmm0, xmmword [esp + 0x70]
movaps xmm1, xmmword [esp + 0x80]
movaps xmmword [esp + 0xc0], xmm1
movaps xmmword [esp + 0xb0], xmm0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
test esi, esi
je 0x482088
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf], al
jmp 0x481e35
mov esi, dword [ebp + 0x14]
jmp 0x481e35
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
jmp 0x481e35
cmp byte [esp + 0x30], 0
je 0x481e35
lea ecx, [esp + 0x70]
lea eax, [esp + 0xb0]
push eax
call fcn.0047cd30
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
test eax, eax
jne 0x481e35
jmp 0x481fd8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf], al
nop dword [eax]
mov esi, dword [esp + 0x14]
test esi, esi
mov ebx, dword [ebp + 0xc]
je 0x481cbb
mov eax, 0xffffffff
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x481cbb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, esi
call fcn.00599130
mov edx, dword [ebp + 0x10]
jmp 0x481cbb
mov dword [esp + 0x14], 0
jmp 0x481e07
mov ebx, dword [esp + 0x20]
test ebx, ebx
mov eax, 0xfffffff9
je 0x482151
mov edx, dword [esp + 0x2c]
add edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
lea ecx, [eax - 8]
cmp edx, ecx
jbe 0x482121
push eax
push edx
push str.ResTable_entry_at_0x_x_is_beyond_type_chunk_data_0x_x
push str.ResourceType
push 5
call fcn.00612760
add esp, 0x14
jmp 0x48214c
mov eax, 0xfffffff9
jmp 0x482151
test dl, 3
je 0x48212e
push edx
push str.ResTable_entry_at_0x_x_is_not_on_an_integer_boundary
jmp 0x48213d
movzx eax, word [ebx + edx]
cmp eax, 7
ja 0x48215b
push eax
push str.ResTable_entry_size_0x_x_is_too_small
push str.ResourceType
push 5
call fcn.00612760
add esp, 0x10
mov eax, 0x80000001
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
xor eax, eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x482151
add edx, ebx
mov dword [ecx + 0x40], edx
movaps xmm0, xmmword [esp + 0xb0]
movaps xmm1, xmmword [esp + 0xc0]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm1
movaps xmm0, xmmword [esp + 0xd0]
movups xmmword [ecx + 0x20], xmm0
movaps xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0x30], xmm0
mov dword [ecx + 0x44], ebx
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x48], eax
mov ebx, dword [esp + 0x44]
mov dword [ecx + 0x4c], ebx
lea eax, [ebx + 0xc]
mov esi, ecx
movzx ecx, byte [esp + 0xf]
sub ecx, dword [ebx + 0xc4]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
add ebx, 0x68
mov eax, dword [edx + 4]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], eax
xor eax, eax
jmp 0x482151