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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], ecx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], 1
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edx
xor ecx, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x68], ecx
push 8
push 0
push eax
call fcn.03cf5720
add esp, 0xc
mov edx, dword [ebx]
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x24], 0
je 0x3d41abb
jmp 0x3d422a4
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
call fcn.03d417ac
add esp, 8
mov esi, eax
test esi, esi
je 0x3d422a4
push 0
push 0
push 0x80
push esi
push ebx
call fcn.03d5b1f8
mov dword [ebp - 0x74], eax
xor eax, eax
mov al, byte [esi + 0x2b]
add esp, 0x14
cmp eax, 2
sete dl
and edx, 1
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x74], 0
jne 0x3d41b15
push 0
push 0
push esi
push ebx
call fcn.03d466cc
add esp, 0x10
test eax, eax
jne 0x3d41b15
xor ecx, ecx
jmp 0x3d41b1a
mov ecx, 1
mov dword [ebp - 0x6c], ecx
push esi
push ebx
call fcn.03d3e15c
add esp, 8
test eax, eax
je 0x3d41b30
jmp 0x3d422a4
mov ecx, dword [ebp - 0x74]
push ecx
push esi
push ebx
call fcn.03d4191c
add esp, 0xc
test eax, eax
je 0x3d41b47
jmp 0x3d422a4
mov eax, dword [esi + 0x3c]
push eax
mov edx, dword [ebp - 0x20]
push edx
call fcn.03d50270
mov dword [ebp - 0x2c], eax
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
shl ecx, 4
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + ecx]
push ecx
push 0
mov eax, dword [esi]
push eax
push 9
push ebx
call fcn.03d3aa64
add esp, 0x14
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jne 0x3d41b88
jmp 0x3d422a4
mov edx, dword [ebx + 0x28]
inc dword [ebx + 0x28]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x30], edx
mov dword [ebp - 0x10], edx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [esi + 8]
test edi, edi
je 0x3d41bb0
inc dword [ebx + 0x28]
mov edi, dword [edi + 0x14]
inc dword [ebp - 0x1c]
test edi, edi
jne 0x3d41ba3
cmp dword [ebp - 0x70], 0
je 0x3d41bc6
mov eax, dword [esi]
lea edx, [ebp - 0x28]
push eax
push edx
push ebx
call fcn.03d3aaf0
add esp, 0xc
push ebx
call fcn.03d53150
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x3d41bdb
jmp 0x3d422a4
cmp byte [ebx + 0x12], 0
jne 0x3d41beb
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d1da3c
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [ebp - 0x6c]
push eax
push ebx
call fcn.03d40910
add esp, 0xc
cmp dword [ebp - 0x70], 0
je 0x3d41c2f
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
call fcn.03d4198c
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
add esp, 0x18
xor edx, edx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edx
push 0x20
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.03cf5720
add esp, 0xc
mov dword [ebp - 0xa0], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xa0]
push ecx
call fcn.03d2e790
add esp, 8
test eax, eax
je 0x3d41c6d
jmp 0x3d422a4
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
xor eax, eax
and edx, 1
cmp edx, 0
jne 0x3d41c86
cmp eax, 0
je 0x3d41cba
cmp byte [ebx + 0x12], 0
jne 0x3d41cba
cmp dword [ebx + 0x7c], 0
jne 0x3d41cba
cmp byte [ebx + 0x97], 0
jne 0x3d41cba
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0x47
mov edx, dword [ebp - 4]
push edx
call fcn.03d19b34
add esp, 0x10
cmp dword [ebp - 0x34], 0
jne 0x3d41d92
cmp dword [ebp + 0x10], 0
jne 0x3d41d92
cmp dword [ebp - 0x6c], 0
jne 0x3d41d92
xor ecx, ecx
mov cl, byte [esi + 0x2b]
dec ecx
je 0x3d41d92
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x108], 0
jne 0x3d41d92
test byte [esi + 0x1c], 0x80
jne 0x3d41d27
push 0xffffffffffffffff
mov edx, dword [esi]
push edx
cmp dword [ebp - 0x30], 0
je 0x3d41d0a
mov ecx, dword [ebp - 0x30]
jmp 0x3d41d0d
or ecx, 0xffffffff
push ecx
mov eax, dword [ebp - 0x2c]
push eax
mov edx, dword [esi + 0x14]
push edx
push 0x91
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19d1c
add esp, 0x1c
mov edi, dword [esi + 8]
test edi, edi
je 0x3d42276
mov al, byte [edi + 0x37]
and eax, 3
cmp eax, 2
jne 0x3d41d6d
test byte [esi + 0x1c], 0x80
je 0x3d41d6d
cmp dword [ebp - 0x30], 0
je 0x3d41d4e
mov edx, dword [ebp - 0x30]
jmp 0x3d41d51
or edx, 0xffffffff
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edi + 0x2c]
push ecx
push 0x91
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b54
add esp, 0x14
jmp 0x3d41d86
mov eax, dword [ebp - 0x2c]
push eax
mov edx, dword [edi + 0x2c]
push edx
push 0x91
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b34
add esp, 0x10
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x3d41d32
jmp 0x3d42276
mov word [ebp - 0x76], 0x14
test byte [ebp - 0x88], 0x40
je 0x3d41da8
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0
je 0x3d41db2
xor eax, eax
jmp 0x3d41db6
mov ax, 8
or word [ebp - 0x76], ax
test byte [esi + 0x1c], 0x80
jne 0x3d41de1
xor edi, edi
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
push edx
push 0
push 0x4b
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b34
add esp, 0x10
jmp 0x3d41e2d
push esi
call fcn.03d3bab0
pop ecx
mov edi, eax
mov ax, word [edi + 0x32]
mov word [ebp - 0x4a], ax
mov edx, dword [ebx + 0x2c]
inc edx
mov dword [ebp - 0x48], edx
movsx ecx, word [ebp - 0x4a]
add dword [ebx + 0x2c], ecx
mov ecx, dword [ebx + 0x28]
inc dword [ebx + 0x28]
mov dword [ebp - 0x58], ecx
movsx eax, word [ebp - 0x4a]
push eax
mov edx, dword [ebp - 0x58]
push edx
push 0x76
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b34
add esp, 0x10
mov dword [ebp - 0x68], eax
push edi
push ebx
call fcn.03d1a8dc
add esp, 8
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov dx, word [ebp - 0x76]
push edx
push 0
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.03d6b82c
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3d422a4
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.03d65c80
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x3d41e7b
push ebx
call fcn.03d40948
pop ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.03d65ca4
pop ecx
test eax, eax
je 0x3d41e9e
mov edx, dword [ebp - 0x10]
push edx
push 0x8f
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b14
add esp, 0xc
cmp dword [ebp - 0x30], 0
je 0x3d41eb8
push 1
mov eax, dword [ebp - 0x30]
push eax
push 0x56
mov edx, dword [ebp - 4]
push edx
call fcn.03d19b34
add esp, 0x10
test edi, edi
je 0x3d41efa
xor ecx, ecx
mov dword [ebp - 8], ecx
jmp 0x3d41ee9
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 8]
push eax
mov edx, dword [edi + 4]
mov eax, dword [ebp - 8]
movsx edx, word [edx + eax*2]
push edx
mov ecx, dword [ebp - 0x10]
push ecx
push esi
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d32788
add esp, 0x14
inc dword [ebp - 8]
movsx eax, word [ebp - 0x4a]
cmp eax, dword [ebp - 8]
jg 0x3d41ec3
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x50], edx
jmp 0x3d41f1a
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
push eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
push edx
push esi
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d32788
add esp, 0x14
cmp dword [ebp - 0x38], 0
je 0x3d41fc2
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x52], ax
mov eax, dword [ebp - 0x1c]
add eax, 2
cdq
push edx
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.03cfa0a4
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x3d41f59
mov eax, dword [ebp - 0xc]
push eax
call fcn.03d6c2f0
pop ecx
jmp 0x3d422a4
mov edx, dword [ebp - 0x1c]
inc edx
push edx
push 1
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.03cf5720
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ecx + eax + 1], 0
cmp dword [ebp - 0x40], 0
jl 0x3d41f8a
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
mov byte [eax + edx], 0
cmp dword [ebp - 0x3c], 0
jl 0x3d41f9d
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x44]
mov byte [ecx + edx], 0
cmp dword [ebp - 0x68], 0
je 0x3d41fb3
mov ecx, dword [ebp - 0x68]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.03d1a718
add esp, 8
push ebx
call fcn.03d19fb8
pop ecx
mov dword [ebp - 0x60], eax
jmp 0x3d4204f
test edi, edi
je 0x3d42026
inc dword [ebx + 0x2c]
mov edx, dword [ebx + 0x2c]
mov dword [ebp - 0x50], edx
mov word [ebp - 0x52], 0
movsx ecx, word [ebp - 0x4a]
push ecx
push edi
mov eax, dword [ebx]
push eax
call fcn.03d46fc0
add esp, 8
push eax
mov edx, dword [ebp - 0x50]
push edx
movsx ecx, word [ebp - 0x4a]
push ecx
mov eax, dword [ebp - 0x48]
push eax
push 0x61
mov edx, dword [ebp - 4]
push edx
call fcn.03d19d1c
add esp, 0x1c
movsx ecx, word [ebp - 0x4a]
push ecx
mov eax, dword [ebp - 0x48]
push eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x58]
push ecx
push 0x8a
mov eax, dword [ebp - 4]
push eax
call fcn.03d19bd4
add esp, 0x18
jmp 0x3d42045
mov word [ebp - 0x52], 1
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x9c
mov eax, dword [ebp - 4]
push eax
call fcn.03d19b34
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
call fcn.03d6c2f0
pop ecx
cmp dword [ebp - 0x70], 0
jne 0x3d420a5
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x38], 2
jne 0x3d42071
push 0xf
mov eax, dword [ebp - 4]
push eax
call fcn.03d19af8
add esp, 8
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
push ecx
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x10]
push edx
push 8
push 0x71
push esi
push ebx
call fcn.03d49b74
add esp, 0x20
cmp dword [ebp - 0x38], 2
jne 0x3d420a5
mov ecx, dword [ebp - 0x7c]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.03d1a524
add esp, 8
cmp dword [ebp - 0x38], 0
je 0x3d420eb
xor edx, edx
mov dl, byte [esi + 0x2b]
dec edx
je 0x3d4215c
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
cmp byte [eax + ecx], 0
je 0x3d4215c
movsx edx, word [ebp - 0x52]
push edx
mov ecx, dword [ebp - 0x50]
push ecx
mov eax, dword [ebp - 0x60]
push eax
mov edx, dword [ebp - 0x14]
push edx
push 0x1c
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19bd4
add esp, 0x18
jmp 0x3d4215c
test edi, edi
je 0x3d42141
mov eax, dword [ebp - 0x58]
push eax
push 0x24
mov edx, dword [ebp - 4]
push edx
call fcn.03d19b14
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov cl, byte [esi + 0x2b]
add esp, 0xc
dec ecx
jne 0x3d42126
mov eax, dword [ebp - 0x50]
push eax
push 0
mov edx, dword [ebp - 0x58]
push edx
push 0x5e
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b54
add esp, 0x14
jmp 0x3d4215c
mov eax, dword [ebp - 0x50]
push eax
mov edx, dword [ebp - 0x58]
push edx
push 0x86
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b34
add esp, 0x10
jmp 0x3d4215c
mov eax, dword [ebp - 0x50]
push eax
push 0
mov edx, dword [ebp - 0x5c]
push edx
push 0x2e
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d19b54
add esp, 0x14
mov dword [ebp - 0x64], eax
xor eax, eax
mov al, byte [esi + 0x2b]
dec eax
jne 0x3d421d3
push esi
mov edx, dword [ebp - 0x20]
push edx
call fcn.03d5eb30
add esp, 8
mov dword [ebp - 0x80], eax
push esi
push ebx
call fcn.03d5fc3c
add esp, 8
push ebx
call fcn.03d40964
cmp dword [ebp - 0x38], 1
pop ecx
jne 0x3d421a7
mov ecx, dword [ebp - 0x10]
push ecx
push 0x7a
mov eax, dword [ebp - 4]
push eax
call fcn.03d19b14
add esp, 0xc
cmp dword [ebx + 0x78], 0
jne 0x3d421a7
mov byte [ebx + 0x14], 0
push 0xfffffffffffffff5
mov edx, dword [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x50]
push ecx
push 1
push 0
push 7
mov eax, dword [ebp - 4]
push eax
call fcn.03d19d1c
add esp, 0x1c
push 2
mov edx, dword [ebp - 4]
push edx
call fcn.03d1a4c0
add esp, 8
jmp 0x3d42207
cmp byte [ebx + 0x12], 0
sete al
and eax, 1
mov edx, dword [ebp - 0x3c]
push edx
mov cl, byte [ebp - 0x38]
push ecx
push 0xb
push eax
mov cx, word [ebp - 0x52]
push ecx
mov eax, dword [ebp - 0x50]
push eax
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ebp - 0x74]
push eax
push esi
push ebx
call fcn.03d422ec
add esp, 0x2c
cmp dword [ebp - 0x38], 0
je 0x3d42229
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d1a040
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
call fcn.03d6c2f0
pop ecx
jmp 0x3d42276
test edi, edi
je 0x3d42256
mov edx, dword [ebp - 0x64]
inc edx
push edx
mov ecx, dword [ebp - 0x58]
push ecx
push 0x27
mov eax, dword [ebp - 4]
push eax
call fcn.03d19b34
add esp, 0x10
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.03d1a508
add esp, 8
jmp 0x3d42276
mov eax, dword [ebp - 0x64]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.03d19c58
add esp, 8
mov ecx, dword [ebp - 0x64]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.03d1a508
add esp, 8
cmp byte [ebx + 0x12], 0
jne 0x3d42289
cmp dword [ebx + 0x7c], 0
jne 0x3d42289
push ebx
call fcn.03d47690
pop ecx
cmp dword [ebp - 0x30], 0
je 0x3d422a4
push 0x3e30091
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.03d41808
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
call fcn.03d3ab10
pop ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x20]
push eax
call fcn.03d40318
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.03d2fc94
add esp, 8
cmp dword [ebp - 0x44], 0
je 0x3d422e4
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x20]
push edx
call fcn.03cf9dac
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret