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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
cmp edx, 0x101
jae 0x43807a
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], str.version_srclib.rsversionCouldnt_load_version.dll:
xor ebx, ebx
jmp 0x4380b3
mov eax, pe_nt_image_headers32
nop
cmp byte [ecx + eax], 0xc0
jge 0x43808d
dec eax
jne 0x438080
xor ebx, ebx
jmp 0x43809f
cmp eax, edx
jae 0x438095
mov ebx, eax
jmp 0x43809f
cmp edx, eax
mov ebx, edx
jne 0x4381d5
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ebx, 5
mov dword [esp + 8], str._..._byte_index__is_out_of_bounds_of__
mov eax, dword [esp + 0x7c]
cmp edi, edx
mov dword [esp + 0xc], ebx
ja 0x438133
cmp esi, edx
ja 0x438133
cmp edi, esi
jbe 0x43819f
lea ecx, [esp + 0x74]
lea esi, [esp + 0x78]
mov edx, esp
mov dword [esp + 0x18], 0x43a34c
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], fcn.00405180
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], fcn.00405180
mov dword [esp + 0x40], edx
lea edx, [esp + 0x30]
lea esi, [esp + 8]
mov dword [esp + 0x44], 0x404340
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], 0x404340
mov dword [esp + 0x2c], 4
jmp 0x438192
cmp edi, edx
lea ecx, [esp + 0x58]
mov edx, esp
mov dword [esp + 0x18], 0x43a310
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0
cmova esi, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], fcn.00405180
mov dword [esp + 0x38], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x3c], 0x404340
mov dword [esp + 0x58], esi
lea esi, [esp + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 3
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x404340
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.00437df0
ud2
test edi, edi
jne 0x4381c9
test esi, esi
mov dword [esp + 0x10], esi
jne 0x438209
xor esi, esi
cmp esi, edx
je 0x438211
mov bl, byte [ecx + esi]
movzx edx, bl
test bl, bl
js 0x438226
mov dword [esp + 0x14], edx
mov edx, 1
jmp 0x4382a3
cmp edi, edx
jae 0x4381e7
cmp byte [ecx + edi], 0xbf
jg 0x4381a3
jmp 0x4381eb
push 0x43a258
push eax
push 0
call fcn.00438050
add esp, 0xc
ud2
cmp edx, edi
je 0x4381a3
mov esi, edi
mov dword [esp + 0x10], edi
jmp 0x438209
cmp byte [ecx + esi], 0xbf
jg 0x4381ad
dec esi
je 0x4381ab
cmp esi, edx
jb 0x438200
cmp edx, esi
jne 0x438206
mov ecx, 0x43f0d0
mov edx, 0x2b
push eax
call fcn.00437f00
add esp, 4
ud2
movzx ebp, byte [ecx + esi + 1]
and edx, 0x1f
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x438267
movzx edi, byte [ecx + esi + 2]
shl ebp, 6
and edi, 0x3f
or edi, ebp
cmp bl, 0xf0
jb 0x438270
movzx ecx, byte [ecx + esi + 3]
and edx, 7
shl edi, 6
shl edx, 0x12
and ecx, 0x3f
or ecx, edi
or ecx, edx
cmp ecx, 0x110000
je 0x438211
jmp 0x438277
shl edx, 6
or edx, ebp
mov ecx, edx
jmp 0x438277
shl edx, 0xc
or edi, edx
mov ecx, edi
mov edx, 1
cmp ecx, 0x80
mov dword [esp + 0x14], ecx
jb 0x4382a3
mov edx, 2
cmp ecx, 0x800
jb 0x4382a3
cmp ecx, 0x10000
mov edx, 4
sbb edx, 0
add edx, esi
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x10]
lea esi, [esp + 0x58]
mov dword [esp + 0x18], 0x43a3a0
mov dword [esp + 0x1c], 5
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], fcn.00405180
mov dword [esp + 0x38], edx
mov edx, esp
mov dword [esp + 0x3c], 0x4061a0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x4063a0
lea esi, [esp + 8]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x4c], 0x404340
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 0x404340
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 5
jmp 0x438192