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

Disassembly:
sub esp, 0x18c
push ebx
push ebp
push esi
xor ebx, ebx
lea ecx, [esp + 0x5c]
push edi
mov dword [esp + 0x10], ebx
call fcn.03ec04f0
mov eax, dword [0x1010935c]
push 0x44
push dword [esp + 0x1c8]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x160]
push eax
call fcn.03f03930
mov edi, dword [esp + 0x1c4]
add esp, 0xc
mov esi, dword [esp + 0x1a8]
and edi, 0xfff7ffff
mov dword [esp + 0x158], 0x44
xor ebp, ebp
mov dword [esp + 0x24], edi
mov ecx, dword [0x10109618]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x3ed92a1
push 0x100fcb88
push ebp
push 0x100fcb74
push 0x100f7164
push 4
lea ecx, [esp + 0x160]
call fcn.03e496c0
mov ecx, eax
call fcn.03e4ba10
mov ecx, eax
call fcn.03e4b8e0
mov ecx, eax
call fcn.03e4b950
lea ecx, [esp + 0x14c]
call fcn.03e4b6e0
inc ebp
mov dword [esp + 0x5c], ebp
cmp ebp, 5
jg 0x3ed9ea9
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax + 0x58]
cmp ebp, 4
jne 0x3ed92ff
mov ecx, dword [0x10109618]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x3ed92fa
push 0x100fcbf0
push 0x100f7164
push ebp
lea ecx, [esp + 0xf4]
call fcn.03e496c0
mov ecx, eax
call fcn.03e4ba10
lea ecx, [esp + 0xe8]
call fcn.03e4b6e0
mov eax, 1
push dword [esp + 0x1d0]
lea ecx, [esp + 0xf8]
push eax
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x1d0]
push eax
push edi
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x1d0]
push eax
call fcn.03edf780
lea eax, [esp + 0xf4]
push eax
push esi
push dword [esp + 0x1ac]
call fcn.03edaf90
mov ecx, dword [0x10109618]
add esp, 0xc
mov eax, dword [ecx]
push dword [esp + 0x130]
call dword [eax + 0x80]
test eax, eax
jne 0x3ed9e46
mov ecx, dword [esp + 0x140]
cmp dword [esp + 0x114], eax
je 0x3ed9712
mov eax, dword [esp + 0x13c]
test eax, eax
je 0x3ed93bb
push eax
lea ecx, [esp + 0x64]
call fcn.03ec0530
lea ecx, [esp + 0xf4]
call fcn.03edffb0
jmp 0x3ed9250
cmp ecx, 2
jne 0x3ed9705
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.03e3d480
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x34]
push eax
push 0x100fac48
call fcn.03f06db0
push dword [esp + 0x3c]
lea eax, [esp + 0xe8]
push eax
call fcn.03f06bc0
add esp, 0x10
mov edi, dword [eax]
test edi, edi
jne 0x3ed942e
push edi
lea ecx, [esp + 0x38]
call fcn.03e3d480
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
jmp 0x3ed9471
xor ecx, ecx
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x3ed944b
lea esp, [esp]
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x3ed9440
push esi
lea ecx, [esp + 0x38]
call fcn.03e3d480
lea eax, [esi*2 + 2]
push eax
push edi
push dword [esp + 0x3c]
call fcn.03f0f910
mov esi, dword [esp + 0x1b4]
add esp, 0xc
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x3ed94a6
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.03e3d480
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x34]
test esi, esi
jne 0x3ed95b7
push 0x100eff98
push dword [esp + 0x1a8]
push 0x100fac58
push eax
lea eax, [esp + 0x74]
push eax
call fcn.03e37920
add esp, 0xc
push eax
lea eax, [esp + 0x94]
push eax
call fcn.03e37920
add esp, 0xc
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.03e37920
add esp, 0xc
lea ecx, [esp + 0x50]
push dword [eax]
call fcn.03e39bc0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x3ed9553
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov eax, dword [esp + 0x88]
test eax, eax
je 0x3ed9588
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x3ed9654
push eax
call fcn.03f03820
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
jmp 0x3ed9651
push esi
push 0x100fccac
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.03e37920
add esp, 0xc
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.03e37920
add esp, 0xc
lea ecx, [esp + 0x50]
push dword [eax]
call fcn.03e39bc0
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x3ed961f
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x3ed9654
push eax
call fcn.03f03820
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
add esp, 4
push dword [esp + 0x1c8]
mov ecx, dword [0x1010935c]
lea eax, [esp + 0x15c]
mov esi, dword [esp + 0x54]
add ecx, 0x116c
push eax
push dword [esp + 0x1c8]
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c8]
or eax, 4
push eax
push dword [esp + 0x1c8]
mov eax, dword [ecx]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push 0
call dword [eax + 0x24]
call eax
mov ebp, eax
mov dword [esp + 0x30], ebp
test esi, esi
je 0x3ed96d3
push esi
call fcn.03f03820
add esp, 4
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x3ed97f3
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x3ed97f3
mov dword [esp + 0x30], 1
jmp 0x3ed97fb
mov eax, dword [esp + 0x1cc]
test eax, eax
je 0x3ed977d
cmp dword [eax], 3
jne 0x3ed977d
push dword [esp + 0x1c8]
mov ecx, dword [0x1010935c]
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x1c8]
mov eax, edi
add ecx, 0x116c
push dword [esp + 0x1c8]
or eax, 4
push eax
push dword [esp + 0x1c8]
mov eax, dword [ecx]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push dword [esp + 0x1c8]
call dword [eax + 0x24]
call eax
mov ebp, eax
mov dword [esp + 0x30], ebp
jmp 0x3ed97f3
push dword [esp + 0x1c8]
mov edi, dword [esp + 0x4c]
push dword [esp + 0x1c8]
mov ecx, dword [0x1010935c]
push dword [esp + 0x1c8]
mov edx, dword [edi + 0x30]
push dword [esp + 0x1c8]
mov eax, dword [ecx + 0x116c]
neg edx
sbb edx, edx
add ecx, 0x116c
and edx, 4
or edx, dword [esp + 0x1c8]
push edx
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push dword [esp + 0x1c8]
call dword [eax + 0x24]
call eax
cmp dword [edi + 0x30], 0
mov ebp, eax
mov dword [esp + 0x30], ebp
je 0x3ed9e9b
test ebp, ebp
je 0x3ed9e33
mov eax, dword [esp + 0x1b8]
shr eax, 2
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c8]
push dword [eax]
call dword [0x100df260]
push eax
call fcn.03f057c0
mov ecx, dword [esp + 0x1c8]
add esp, 8
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x3ed984a
push ecx
lea eax, [esp + 0x74]
or ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.03f073c0
add esp, 8
jmp 0x3ed9861
lea eax, [esp + 0xb8]
or ebx, 2
push eax
mov dword [esp + 0x14], ebx
call fcn.03f06ca0
add esp, 4
mov edi, dword [eax]
xor ecx, ecx
test edi, edi
jne 0x3ed9895
mov eax, 0x100
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.03f03830
push edi
mov ebp, eax
call fcn.03f03820
add esp, 8
xor eax, eax
mov word [ebp], ax
jmp 0x3ed98e2
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0x3ed98ab
mov edi, edi
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0x3ed98a0
xor ecx, ecx
lea eax, [esi + 0x100]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.03f03830
push 0
mov ebp, eax
call fcn.03f03820
lea eax, [esi*2 + 2]
push eax
push edi
push ebp
call fcn.03f0f910
add esp, 0x14
test bl, 2
je 0x3ed9923
mov eax, dword [esp + 0xb8]
and ebx, 0xfffffffd
mov dword [esp + 0x10], ebx
test eax, eax
je 0x3ed9923
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
test bl, 1
je 0x3ed9958
mov eax, dword [esp + 0x70]
and ebx, 0xfffffffe
mov dword [esp + 0x10], ebx
test eax, eax
je 0x3ed9958
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x140]
xor esi, esi
mov eax, dword [esp + 0x118]
mov dword [esp + 0x1c], esi
cmp ecx, 1
jne 0x3ed99d3
push eax
lea eax, [esp + 0x80]
push eax
call fcn.03f073c0
lea ecx, [esp + 0x24]
push ecx
push dword [eax]
call fcn.03eeb7b0
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x7c]
sete byte [esp + 0x1b]
test eax, eax
je 0x3ed99b8
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp byte [esp + 0x1b], al
mov ecx, dword [esp + 0x140]
cmovne esi, eax
mov eax, dword [esp + 0x118]
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x124]
mov dword [esp + 0x1c], 0
je 0x3ed9b0d
cmp ecx, 1
jne 0x3ed9a33
mov ecx, dword [esp + 0x1c4]
or ebx, 4
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x24], edi
push eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ebx
call fcn.03f073c0
mov ecx, dword [esp + 0x148]
add esp, 8
mov dword [esp + 0x14], 0
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x3ed9a59
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1d0]
cmp ecx, 1
sete bl
xor eax, eax
cmp ecx, 1
setne al
push eax
push 0
push esi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
call dword [0x100df248]
push eax
call dword [0x100df218]
neg eax
mov ecx, dword [esp + 0x68]
sbb eax, eax
neg eax
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x1f0]
push ebx
push dword [esp + 0x58]
push ebp
push dword [esp + 0x54]
push dword [esp + 0x60]
push ebx
push dword [esp + 0x54]
push dword [eax]
call fcn.03ee1b90
mov ebx, dword [esp + 0x10]
mov esi, eax
test bl, 4
je 0x3ed9c2a
mov ecx, dword [esp + 0x94]
and ebx, 0xfffffffb
test ecx, ecx
je 0x3ed9c2a
push ecx
call fcn.03f03820
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jmp 0x3ed9c27
cmp ecx, 1
jne 0x3ed9b53
mov ecx, dword [esp + 0x1c4]
or ebx, 8
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x2c], edi
push eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
call fcn.03f073c0
mov ecx, dword [esp + 0x148]
add esp, 8
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x3ed9b79
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
push dword [esp + 0x1d0]
xor ebx, ebx
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1d4]
cmp ecx, 1
sete bl
xor eax, eax
cmp ecx, 1
setne al
push eax
push 0
push esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x68]
push eax
call dword [0x100df248]
push eax
call dword [0x100df218]
neg eax
mov ecx, dword [esp + 0x6c]
sbb eax, eax
neg eax
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x1f4]
push ebx
push dword [esp + 0x44]
push ebp
push dword [esp + 0x60]
push dword [esp + 0x5c]
push ebx
push dword [esp + 0x70]
push dword [eax]
call fcn.03ed5730
mov ebx, dword [esp + 0x10]
mov esi, eax
test bl, 8
je 0x3ed9c2a
mov eax, dword [esp + 0xac]
and ebx, 0xfffffff7
test eax, eax
je 0x3ed9c2a
push eax
call fcn.03f03820
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 4
test esi, esi
jne 0x3ed9d77
cmp dword [esp + 0x140], 1
jne 0x3ed9d5d
mov eax, dword [esp + 0x1c8]
push 0xffffffffffffffff
push dword [eax]
call dword [0x100df1b4]
mov ecx, dword [0x1010935c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
mov ecx, dword [0x1010935c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
cmp dword [esp + 0x1c], 0xffffffff
jne 0x3ed9d52
test ebp, ebp
je 0x3ed9ca2
push ebp
call fcn.03f03820
add esp, 4
mov eax, dword [esp + 0x130]
test eax, eax
je 0x3ed9cd7
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
test edi, edi
je 0x3ed9d05
push edi
call fcn.03f03820
add esp, 4
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov eax, dword [esp + 0x118]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x1a8]
mov edi, dword [esp + 0x24]
test eax, eax
je 0x3ed9250
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
jmp 0x3ed9250
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x3ed9e11
cmp dword [esp + 0x40], 0
jne 0x3ed9e11
mov eax, dword [esp + 0x1c8]
push dword [eax + 4]
jmp 0x3ed9e0b
cmp dword [esp + 0x140], 1
jne 0x3ed9dca
cmp dword [esp + 0x40], 0
mov esi, dword [esp + 0x4c]
jne 0x3ed9d93
push esi
call dword [0x100df1c8]
mov ecx, dword [0x1010935c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
mov eax, dword [esp + 0x1c8]
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
jmp 0x3ed9e11
mov ecx, dword [0x1010935c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
jne 0x3ed9e11
push edx
call dword [0x100df1c8]
test ebp, ebp
je 0x3ed9e1e
push ebp
call fcn.03f03820
add esp, 4
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0xf4]
call fcn.03edffb0
jmp 0x3ed9f11
lea ecx, [esp + 0xf4]
xor ebp, ebp
call fcn.03edffb0
jmp 0x3ed9f11
push dword [esp + 0x1c8]
mov ecx, dword [0x1010935c]
push dword [esp + 0x1c8]
add ecx, 0x116c
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
mov eax, dword [ecx]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push dword [esp + 0x1c8]
call dword [eax + 0x24]
call eax
mov ebp, eax
lea ecx, [esp + 0xf4]
call fcn.03edffb0
jmp 0x3ed9f11
mov ecx, dword [0x10109618]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x3ed9f0f
push 0x100fcbd4
push 5
push 0x100fcbc0
push ebp
push 0x100fcb9c
push 0x100f7164
push 4
lea ecx, [esp + 0x104]
call fcn.03e496c0
mov ecx, eax
call fcn.03e4ba10
mov ecx, eax
call fcn.03e4b8e0
mov ecx, eax
call fcn.03e4b950
mov ecx, eax
call fcn.03e4b8e0
mov ecx, eax
call fcn.03e4b950
lea ecx, [esp + 0xe8]
call fcn.03e4b6e0
xor ebp, ebp
lea ecx, [esp + 0x60]
call fcn.03ec0500
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18c
ret 0x34