Function at 0x10007210
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2a0
mov eax, dword [esp + 0x2a4]
mov eax, dword [eax + 0x20c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0xf618
mov dword [esp + 0x18], 0x1524
test eax, eax
je 0x1000723f
mov dword [esp + 0x18], eax
xor ebp, ebp
mov edx, dword [esp + 0x2b4]
mov ecx, ebp
imul ecx, ecx, 0x714
lea esi, [ecx + edx]
lea ebx, [esi + 0x510]
push ebx
lea edi, [esi + 0x210]
push edi
push str._Button_idatom__s__AccRole57_Class_TransparentButton__Layoutflowlayout_0_2_0_2__ActiveMouseandKeyboardNoSyncFocus_Paddingrect_5_4_5_4___n__element_class_ToolbarIcon__IDAtom__s______Button___n
lea edx, [esp + 0xbc]
call fcn.10007650
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp dword [esi], 0
jne 0x10007284
mov ecx, dword [esi + 0x208]
push ecx
push ebx
lea eax, [esi + 0x610]
push eax
push eax
push edi
push edi
push str._nbutton_IDatom__s___n_nAccName:__s____nAccRole:_57___nAccDesc:__s____nAccDefAction:rcstr_20068____nShortcutString:__s____n_n_element_idatom__s____content:rcimg__d___
lea edx, [esp + 0x1cc]
call fcn.10007650
add esp, 0x1c
test ebp, ebp
jne 0x100072e1
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0xb0]
push eax
push 0x400
push ecx
call fcn.1000e560
mov eax, dword [esp + 0x2c8]
add esp, 0xc
lea edx, [esp + 0x1b0]
push edx
push 0x400
push eax
call fcn.1000e560
jmp 0x10007318
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0xb0]
push ecx
push 0x400
push edx
call fcn.1000e8e6
mov ecx, dword [esp + 0x2c8]
add esp, 0xc
lea eax, [esp + 0x1b0]
push eax
push 0x400
push ecx
call fcn.1000e8e6
add esp, 0xc
cmp dword [esi], 0
je 0x1000737e
mov edx, dword [esi + 0x208]
movzx ecx, dx
lea eax, [esi + 8]
push eax
mov dword [esp + 0x20], edx
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov eax, dword [esi + 4]
push edi
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esi + 4]
push edi
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], eax
push edi
lea eax, [esp + 0x20]
call fcn.100045f0
inc edi
mov dword [esp + 0x14], edi
mov edx, dword [esi + 0x710]
push edx
sub esp, 0x1c
lea eax, [esi + 0x310]
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], cx
mov ecx, eax
mov dword [esp + 0x8c], esp
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100073b0
sub ecx, edi
sar ecx, 1
push ecx
call fcn.100075a0
call fcn.10001520
inc ebp
cmp ebp, 2
jb 0x10007241
mov edx, dword [esp + 0x2bc]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100073e0
sub eax, esi
mov dword [esp + 0x44], eax
xor eax, eax
mov ebp, 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x50], al
mov dword [esp + 0x70], 0x39b
mov dword [esp + 0x74], 0xfa5
mov ecx, 0xe
lea esi, [esp + 0x34]
lea edi, [esp + 0x78]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], 0x17
rep movsd dword es:[edi], dword [esi]
lea ebx, [esp + 0x70]
lea edi, [esp + 0x1c]
call fcn.10004fa0
mov esi, dword [esp + 0x2b8]
mov eax, esi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10007450
mov edx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x50], al
mov dword [esp + 0x70], 0x39b
mov dword [esp + 0x74], 0xfa4
mov ecx, 0xe
lea esi, [esp + 0x34]
lea edi, [esp + 0x78]
mov dword [esp + 0x34], ebp
rep movsd dword es:[edi], dword [esi]
lea ebx, [esp + 0x70]
lea edi, [esp + 0x1c]
call fcn.10004fa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret