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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov eax, dword [0x6e46000]
xor eax, ebp
mov dword [esi + 0x80], eax
cmp dword [ebp + 0x14], 0
je 0x3844b74b
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, ecx
or edx, eax
je 0x3844b74b
mov edx, dword [ebp + 0x18]
mov ebx, dword [edx]
mov edi, dword [edx + 4]
mov edx, ebx
or edx, edi
je 0x3844b74b
xor ebx, ecx
xor edi, eax
or edi, ebx
je 0x3844b74b
mov ecx, dword [ebp + 0xc]
cmp ecx, 4
ja 0x3844b838
mov eax, 0x16
bt eax, ecx
jae 0x3844b838
mov cl, byte [ebp + 0x1c]
lea eax, [esi + 0x59]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0x1e
mov dword [esi + 0x78], 0
mov word [esi + 0x58], 0
mov ebx, dword [ebp + 0x14]
test ebx, ebx
js 0x3844b802
shl ebx, cl
lea ecx, [esi + 0x4c]
push ebx
call fcn.3840eb40
mov dword [esi + 4], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 0x3c]
sub esp, 0x14
mov eax, esp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x4c]
mov dword [eax], ecx
mov dword [eax + 0xc], ebx
mov byte [eax + 0x10], 1
mov ecx, edi
call fcn.38485c70
mov edx, dword [ebp + 0x14]
mov esp, dword [esi + 4]
cmp edx, 0x7ffffff0
jae 0x3844b9b5
cmp edx, 5
mov dword [esi + 4], edx
jae 0x3844b770
mov eax, edx
add al, dl
mov byte [esi + 0x18], al
lea ebx, [esi + 0x1a]
test edx, edx
mov edi, dword [ebp + 0xc]
jne 0x3844b796
jmp 0x3844b7a8
mov ecx, dword [ebp + 8]
push 1
push 0x57
call fcn.384450b0
xor ebx, ebx
mov ecx, dword [esi + 0x80]
xor ecx, ebp
call 0x387310a4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [edx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.38410c60
mov edx, dword [esi + 4]
add esp, 4
mov ebx, eax
mov dword [esi + 0x20], eax
or edi, 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edx
mov edi, dword [ebp + 0xc]
lea eax, [edx + edx]
push eax
push 0
push ebx
call fcn.38416e50
mov edx, dword [esi + 4]
add esp, 0xc
mov word [ebx + edx*2], 0
cmp edi, 1
je 0x3844b875
cmp edi, 2
je 0x3844b847
cmp edi, 4
jne 0x3844b8b1
test edx, edx
je 0x3844b8b1
lea eax, [esi + 0x1a]
xor ecx, ecx
cmp edx, 1
jne 0x3844b9bd
mov edx, dword [esi + 4]
test dl, 1
je 0x3844b8b1
mov edx, dword [esi + 0x4c]
movzx edx, byte [edx + ecx]
lea edx, [edx + edx*2]
movzx edx, word [edx + edx + 0x6db3970]
jmp 0x3844b8a1
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
je 0x3844b941
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xffffffff
lea eax, [esi + 0x18]
lea ecx, [esi + 8]
push 1
push eax
call fcn.38614250
jmp 0x3844b962
mov ecx, dword [ebp + 8]
push 1
push 0x3ec
jmp 0x3844b752
test edx, edx
je 0x3844b8b1
lea eax, [esi + 0x1a]
xor ecx, ecx
cmp edx, 1
jne 0x3844ba21
mov edx, dword [esi + 4]
test dl, 1
je 0x3844b8b1
mov edx, dword [esi + 0x4c]
movzx edx, byte [edx + ecx]
lea edx, [edx + edx*2]
movzx edx, word [edx + edx + 0x6db396e]
jmp 0x3844b8a1
test edx, edx
je 0x3844b8b1
lea eax, [esi + 0x1a]
xor ecx, ecx
cmp edx, 1
jne 0x3844ba81
mov edx, dword [esi + 4]
test dl, 1
je 0x3844b8b1
mov edx, dword [esi + 0x4c]
movzx edx, byte [edx + ecx]
lea edx, [edx + edx*2]
movzx edx, word [edx + edx + 0x6db396c]
test byte [esi + 0x18], 1
je 0x3844b8aa
mov eax, dword [esi + 0x20]
mov word [eax + ecx*2], dx
mov edx, dword [esi + 4]
mov dword [esi + 4], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x3c]
push eax
sub esp, 0x10
mov eax, esp
add edx, edx
mov edi, edx
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
test byte [esi + 0x18], 1
je 0x3844b8e0
mov edx, dword [esi + 0x20]
jmp 0x3844b8e3
lea edx, [esi + 0x1a]
mov dword [eax], edx
mov dword [eax + 0xc], edi
mov byte [eax + 0x10], 1
call fcn.38486390
mov esp, dword [esi + 4]
test byte [esi + 0x18], 1
je 0x3844b905
push dword [esi + 0x20]
call fcn.38410d10
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x3844b91c
push eax
call fcn.38410d10
add esp, 4
cmp dword [esi + 0x54], 0x1f
jb 0x3844b93a
mov eax, dword [esi + 0x4c]
add dword [eax - 5], 0xffffffff
jne 0x3844b93a
mov eax, dword [esi + 0x4c]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
mov bl, 1
jmp 0x3844b759
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xffffffff
lea eax, [esi + 0x18]
lea ecx, [esi + 8]
push 1
push eax
call fcn.386141f0
lea eax, [esi + 0x18]
lea ecx, [esi + 0x4c]
push eax
call fcn.38419690
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x3844b985
push eax
call fcn.38410d10
add esp, 4
cmp dword [esi + 0x20], 0x1f
jb 0x3844b9a3
mov eax, dword [esi + 0x18]
add dword [eax - 5], 0xffffffff
jne 0x3844b9a3
mov eax, dword [esi + 0x18]
add eax, 0xfffffffb
push eax
call fcn.38410d10
add esp, 4
mov edx, dword [esi + 0x50]
add edx, 1
cmp edx, 0x7ffffff0
jb 0x3844b730
lea ecx, [esi + 0x18]
call fcn.38417690
mov edx, dword [esi + 4]
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x3844b9f3
mov ebx, dword [esi + 0x4c]
movzx ebx, byte [ebx + ecx + 1]
lea ebx, [ebx + ebx*2]
movzx ebx, word [ebx + ebx + 0x6db3970]
mov word [edi + ecx*2 + 2], bx
add ecx, 2
cmp edx, ecx
je 0x3844b7df
test byte [esi + 0x18], 1
mov edi, eax
je 0x3844b9fe
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x4c]
movzx ebx, byte [ebx + ecx]
lea ebx, [ebx + ebx*2]
movzx ebx, word [ebx + ebx + 0x6db3970]
mov word [edi + ecx*2], bx
test byte [esi + 0x18], 1
mov edi, eax
je 0x3844b9d0
mov edi, dword [esi + 0x20]
jmp 0x3844b9d0
mov edx, dword [esi + 4]
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x3844ba53
mov ebx, dword [esi + 0x4c]
movzx ebx, byte [ebx + ecx + 1]
lea ebx, [ebx + ebx*2]
movzx ebx, word [ebx + ebx + 0x6db396e]
mov word [edi + ecx*2 + 2], bx
add ecx, 2
cmp edx, ecx
je 0x3844b859
test byte [esi + 0x18], 1
mov edi, eax
je 0x3844ba5e
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x4c]
movzx ebx, byte [ebx + ecx]
lea ebx, [ebx + ebx*2]
movzx ebx, word [ebx + ebx + 0x6db396e]
mov word [edi + ecx*2], bx
test byte [esi + 0x18], 1
mov edi, eax
je 0x3844ba30
mov edi, dword [esi + 0x20]
jmp 0x3844ba30
mov edx, dword [esi + 4]
and edx, 0xfffffffe
xor ecx, ecx
jmp 0x3844bab3
mov ebx, dword [esi + 0x4c]
movzx ebx, byte [ebx + ecx + 1]
lea ebx, [ebx + ebx*2]
movzx ebx, word [ebx + ebx + 0x6db396c]
mov word [edi + ecx*2 + 2], bx
add ecx, 2
cmp edx, ecx
je 0x3844b887
test byte [esi + 0x18], 1
mov edi, eax
je 0x3844babe
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x4c]
movzx ebx, byte [ebx + ecx]
lea ebx, [ebx + ebx*2]
movzx ebx, word [ebx + ebx + 0x6db396c]
mov word [edi + ecx*2], bx
test byte [esi + 0x18], 1
mov edi, eax
je 0x3844ba90
mov edi, dword [esi + 0x20]
jmp 0x3844ba90