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

Disassembly:
mov eax, 0x20038
call fcn.004245e0
mov cl, 0x57
mov al, 0x46
push ebx
mov byte [esp + 0x1c], cl
mov byte [esp + 4], cl
mov cl, byte [0x43a678]
xor ebx, ebx
mov byte [esp + 0x1d], al
mov byte [esp + 5], al
push ebp
mov eax, 1
push esi
cmp cl, bl
push edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov dword [esp + 0x40], ebx
mov dword [0x42e230], eax
je 0x4098f4
mov eax, dword [0x439fc8]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
mov eax, dword [ecx + edx + 0x3c]
push eax
push str.RBF_s
push 0x44d540
call ebp
mov ecx, dword [0x44d514]
add esp, 0xc
push str.RBFTYPE
push 0x44d540
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x44d514]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
jne 0x409510
mov eax, dword [0x439fc8]
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
mov eax, dword [ecx + edx + 0x3c]
jmp 0x409681
mov edx, dword [0x44d514]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push edi
and esi, 0xffff
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
cmp esi, ebx
jbe 0x40954d
lea edx, [esp + 0x10048]
sub eax, edx
lea edi, [esp + ecx + 0x10048]
inc ecx
cmp ecx, esi
mov dl, byte [eax + edi]
mov byte [edi], dl
jb 0x40953c
cmp esi, 0x10000
jae 0x409573
mov ecx, 0x10000
lea edi, [esp + esi + 0x10048]
sub ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x439fc8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
mov eax, dword [ecx + edx + 0x3c]
push eax
call edi
test eax, eax
jle 0x4095d9
xor esi, esi
mov eax, dword [0x439fc8]
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
inc esi
lea eax, [ecx + edx + 0x3c]
mov ecx, dword [ecx + edx + 0x3c]
mov dl, byte [esi + ecx - 1]
mov byte [esp + esi + 0x1fc47], dl
mov ecx, dword [eax]
mov dl, byte [esi + ecx - 1]
mov byte [esp + esi + 0x2b], dl
mov eax, dword [eax]
push eax
call edi
cmp esi, eax
jl 0x40959c
xor eax, eax
movzx si, byte [esp + eax + 0x10048]
inc eax
xor ecx, ecx
mov ch, byte [esp + eax + 0x10048]
or ecx, esi
mov esi, dword [esp + 0x40]
add esi, ecx
inc eax
cmp eax, 0x10000
mov dword [esp + 0x40], esi
jb 0x4095db
mov eax, esi
xor edx, edx
mov byte [esp + 0x2a], al
mov dl, ah
mov eax, dword [0x439fc8]
mov byte [esp + 0x2b], dl
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
mov eax, dword [ecx + edx + 0x78]
push eax
push str.RBF_s
push 0x44d540
call ebp
mov ecx, dword [0x44d514]
add esp, 0xc
push str.RBFTYPE
push 0x44d540
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x44d514]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
jne 0x4096bb
mov eax, dword [0x439fc8]
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
mov eax, dword [ecx + edx + 0x78]
push eax
push str._s.RBF_isnt_found_
push 0x44d540
call ebp
mov ecx, dword [esp + 0x20058]
add esp, 0xc
push 0x10
push 0x432594
push 0x44d540
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20038
ret
mov edx, dword [0x44d514]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push edi
and esi, 0xffff
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
cmp esi, ebx
jbe 0x4096f2
lea edx, [esp + 0x48]
sub eax, edx
lea edi, [esp + ecx + 0x48]
inc ecx
cmp ecx, esi
mov dl, byte [eax + edi]
mov byte [edi], dl
jb 0x4096e4
cmp esi, 0x10000
jae 0x409715
mov ecx, 0x10000
lea edi, [esp + esi + 0x48]
sub ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x439fc8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
mov eax, dword [ecx + edx + 0x78]
push eax
call edi
test eax, eax
jle 0x40977b
xor esi, esi
mov eax, dword [0x439fc8]
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
inc esi
lea eax, [ecx + edx + 0x78]
mov ecx, dword [ecx + edx + 0x78]
mov dl, byte [esi + ecx - 1]
mov byte [esp + esi + 0xfc47], dl
mov ecx, dword [eax]
mov dl, byte [esi + ecx - 1]
mov byte [esp + esi + 0x13], dl
mov eax, dword [eax]
push eax
call edi
cmp esi, eax
jl 0x40973e
xor eax, eax
xor esi, esi
movzx di, byte [esp + esi + 0x48]
inc esi
xor ecx, ecx
mov ch, byte [esp + esi + 0x48]
or ecx, edi
add eax, ecx
inc esi
cmp esi, 0x10000
jb 0x40977f
xor edx, edx
mov byte [esp + 0x12], al
mov dl, ah
xor edi, edi
mov byte [esp + 0x13], dl
mov esi, 0x44cd0c
cmp dword [esi - 0xc], ebx
je 0x409886
lea eax, [esp + 0x10]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20058]
lea eax, [esp + 0x10050]
push edx
mov edx, dword [0x44c0e0]
push eax
mov eax, dword [0x44d864]
push ecx
push edi
push edx
push eax
call dword [0x44d4ec]
add esp, 0x20
cmp al, 2
jne 0x409886
mov cl, byte [0x43a678]
mov dword [esi - 0xc], ebx
dec cl
mov byte [0x43a678], cl
mov ecx, edi
and ecx, 0xff
push ecx
call dword [0x44d898]
xor edx, edx
mov dl, byte [esi]
push edx
push str.Load_TTL_Routing_Code_to_Site__d_error_
push 0x44d540
call ebp
mov eax, dword [0x44c0e8]
add esp, 0x10
push 0x10
push str.Load_TTL_Routing_Code
push 0x44d540
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x44d4f0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x44d4fc]
xor ecx, ecx
mov cl, byte [esi]
xor eax, eax
mov ax, word [0x44d4fa]
push ecx
mov ecx, dword [0x44d4f8]
and edx, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
push str.__02d:_02d:_02d__tSite__d___Load_TTL_Routing_Code_error_
push 0x44d540
call ebp
add esp, 0x18
call fcn.0040ac50
add esi, 0x74
inc edi
cmp esi, 0x44d44c
jl 0x4097ac
cmp byte [0x43a678], bl
jbe 0x4098ba
mov esi, dword [esp + 0x44]
mov dword [0x42e230], ebx
call fcn.00421740
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20038
ret
mov esi, 1
push str.Load_RBF_error_
push 0x44d540
mov dword [0x42e230], esi
call ebp
mov edx, dword [0x44c0e8]
add esp, 8
push 0x10
push str.Load_TTL_Routing_Code
push 0x44d540
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00421740
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20038
ret